summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-exec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1998-11-29 01:48:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1998-11-29 01:48:42 +0000
commit932dbd1c30d5cba05fe45673873e66c549e91636 (patch)
treeca0370136c6ff60477acd51a90e9cee2746eeb24 /src/interfaces/libpq/fe-exec.c
parentf2b8bfb4083ee669c1b4eefb6dba9a45743f8376 (diff)
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/interfaces/libpq/fe-exec.c')
0 files changed, 0 insertions, 0 deletions