psql Segfaults shortly after doing variable substitution

From: "William K(dot) Volkman" <wkvpsql(at)netshark(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: psql Segfaults shortly after doing variable substitution
Date: 2002-06-03 16:49:05
Message-ID: 1023122945.16199.7.camel@wkv2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Noted with versions 7.0.3, 7.1.3, and 7.2.1:

The psql interpreter becomes unstable if variable substitutions
are used. The debugger GDB was unable to help however mpatrol
reports that the sprintf at mainloop.c:389 is steping one byte
farther than the allocation.

Patch file attached.

Cheers,
William.

Attachment Content-Type Size
postgresql-variable-substitution.patch text/plain 446 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-06-03 17:42:13 Re: Python DB API (pgdb.py) patch
Previous Message Ingo Luetkebohle 2002-06-03 16:36:16 PostgreSQL support for MiddleKit