diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-07-20 17:20:43 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-07-20 17:20:43 +0000 |
commit | f96babac12cdf5cef5f18686916a95e089fa1203 (patch) | |
tree | 94ad24e011d85bb6f733e39b79de10cab656bdec /doc/src | |
parent | a2bb39c7381a4cf2050fe612c8a59b3ffaa71dd7 (diff) | |
download | postgresql-f96babac12cdf5cef5f18686916a95e089fa1203.tar.gz postgresql-f96babac12cdf5cef5f18686916a95e089fa1203.zip |
While I was running some tests in psql, trying to figure out how to change
the query string to handle any length, I discovered that under certain
conditions, psql will core dump when handling long strings. Thus, the
patch. It was caused by a buffer overrun, probably not noticeable in a lot
of cases, but pretty noticeable in mine.
Problem was caused by the fact that the length check is only performed after
the check for a ; to get the end of the query and execute.
Cheers...
MikeA
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions