~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to src/backend/nodes/outfuncs.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-02-05 18:13:52 UTC
  • mfrom: (1.1.10) (10.1.5 oneiric-proposed)
  • Revision ID: package-import@ubuntu.com-20130205181352-3kw4f94ilqklzm7c
Tags: 9.1.8-0ubuntu11.10
* New upstream security/bug fix release: (LP: #1116336)
  - Prevent execution of enum_recv from SQL
    The function was misdeclared, allowing a simple SQL command to crash the
    server.  In principle an attacker might be able to use it to examine the
    contents of server memory.  Our thanks to Sumit Soni (via Secunia SVCRP)
    for reporting this issue. (CVE-2013-0255)
  - See HISTORY/changelog.gz for the other bug fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1659
1659
        WRITE_NODE_TYPE("PLANNERGLOBAL");
1660
1660
 
1661
1661
        /* NB: this isn't a complete set of fields */
1662
 
        WRITE_NODE_FIELD(paramlist);
1663
1662
        WRITE_NODE_FIELD(subplans);
1664
1663
        WRITE_NODE_FIELD(subrtables);
1665
1664
        WRITE_NODE_FIELD(subrowmarks);
1669
1668
        WRITE_NODE_FIELD(resultRelations);
1670
1669
        WRITE_NODE_FIELD(relationOids);
1671
1670
        WRITE_NODE_FIELD(invalItems);
 
1671
        WRITE_INT_FIELD(nParamExec);
1672
1672
        WRITE_UINT_FIELD(lastPHId);
1673
1673
        WRITE_UINT_FIELD(lastRowMarkId);
1674
1674
        WRITE_BOOL_FIELD(transientPlan);
1683
1683
        WRITE_NODE_FIELD(parse);
1684
1684
        WRITE_NODE_FIELD(glob);
1685
1685
        WRITE_UINT_FIELD(query_level);
 
1686
        WRITE_NODE_FIELD(plan_params);
1686
1687
        WRITE_NODE_FIELD(join_rel_list);
1687
1688
        WRITE_INT_FIELD(join_cur_level);
1688
1689
        WRITE_NODE_FIELD(init_plans);
1800
1801
 
1801
1802
        WRITE_NODE_FIELD(em_expr);
1802
1803
        WRITE_BITMAPSET_FIELD(em_relids);
 
1804
        WRITE_BITMAPSET_FIELD(em_nullable_relids);
1803
1805
        WRITE_BOOL_FIELD(em_is_const);
1804
1806
        WRITE_BOOL_FIELD(em_is_child);
1805
1807
        WRITE_OID_FIELD(em_datatype);
1927
1929
        WRITE_NODE_TYPE("PLANNERPARAMITEM");
1928
1930
 
1929
1931
        WRITE_NODE_FIELD(item);
1930
 
        WRITE_UINT_FIELD(abslevel);
 
1932
        WRITE_INT_FIELD(paramId);
1931
1933
}
1932
1934
 
1933
1935
/*****************************************************************************