~ubuntu-branches/ubuntu/utopic/postgresql-9.4/utopic-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/libpq.sgml

  • Committer: Package Import Robot
  • Author(s): Martin Pitt, CVE-2014-8161
  • Date: 2015-02-06 12:31:46 UTC
  • mfrom: (1.1.5) (7.1.2 utopic-proposed)
  • Revision ID: package-import@ubuntu.com-20150206123146-vtmf30jbkm7w16p8
Tags: 9.4.1-0ubuntu0.14.10
* New upstream security/bug fix release (LP: #1418928)
  - Fix buffer overruns in to_char() [CVE-2015-0241]
  - Fix buffer overruns in contrib/pgcrypto [CVE-2015-0243]
  - Fix possible loss of frontend/backend protocol synchronization after an
    error [CVE-2015-0244]
  - Fix information leak via constraint-violation error messages
    [CVE-2014-8161]
  - See release notes for details about other fixes:
    http://www.postgresql.org/about/news/1569/

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
      <para>
125
125
       When <literal>expand_dbname</literal> is non-zero, the
126
126
       <parameter>dbname</parameter> key word value is allowed to be recognized
127
 
       as a connection string. More details on the possible formats appear in
 
127
       as a connection string. Only the first occurrence of
 
128
       <parameter>dbname</parameter> is expanded this way, any subsequent
 
129
       <parameter>dbname</parameter> value is processed as plain database name. More
 
130
       details on the possible connection string formats appear in
128
131
       <xref linkend="libpq-connstring">.
129
132
      </para>
130
133
 
1464
1467
     </listitem>
1465
1468
    </varlistentry>
1466
1469
 
1467
 
    <varlistentry id="libpq-pqhostaddr">
1468
 
     <term>
1469
 
      <function>PQhostaddr</function>
1470
 
      <indexterm>
1471
 
       <primary>PQhostaddr</primary>
1472
 
      </indexterm>
1473
 
     </term>
1474
 
 
1475
 
     <listitem>
1476
 
      <para>
1477
 
       Returns the server numeric IP address of the connection.
1478
 
<synopsis>
1479
 
char *PQhostaddr(const PGconn *conn);
1480
 
</synopsis>
1481
 
      </para>
1482
 
     </listitem>
1483
 
    </varlistentry>
1484
 
 
1485
1470
    <varlistentry id="libpq-pqport">
1486
1471
     <term>
1487
1472
      <function>PQport</function>
6967
6952
   at <filename>~/.pg_service.conf</filename> or the location
6968
6953
   specified by the environment variable <envar>PGSERVICEFILE</envar>,
6969
6954
   or it can be a system-wide file
6970
 
   at <filename>etc/pg_service.conf</filename> or in the directory
 
6955
   at <filename>`pg_config --sysconfdir`/pg_service.conf</filename> or in the directory
6971
6956
   specified by the environment variable
6972
6957
   <envar>PGSYSCONFDIR</envar>.  If service definitions with the same
6973
6958
   name exist in the user and the system file, the user file takes