diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1998-11-29 01:47:42 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1998-11-29 01:47:42 +0000 |
commit | 9e0e148a83c5348b4b72b855d3715c7155301f60 (patch) | |
tree | 50a8c68573a5b6f20e79d2f906b39a7851764c9d /src/include/regex/utils.h | |
parent | e50feea8d563da50745f08fbd5e801a903da567d (diff) | |
download | postgresql-9e0e148a83c5348b4b72b855d3715c7155301f60.tar.gz postgresql-9e0e148a83c5348b4b72b855d3715c7155301f60.zip |
pq_getstr didn't handle buffer overrun correctly; it would
fail to consume the rest of the input string, and worse it would write
one more byte than it should into the buffer, probably resulting in coredump.
Fortunately there's a correct implementation next door in pqcomprim.c.
Diffstat (limited to 'src/include/regex/utils.h')
0 files changed, 0 insertions, 0 deletions