diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-01-09 19:56:27 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-01-09 19:57:46 -0500 |
| commit | 23bd628b9fb912292496670d6dc42719a7fd1951 (patch) | |
| tree | be40ec636ced79301306cd027af6bd80afaaf436 /src/include/executor/nodeBitmapHeapscan.h | |
| parent | a2beb5b3d1d5848f85d78d8365be70bdb0337603 (diff) | |
Fix one-byte buffer overrun in contrib/test_parser.
The original coding examined the next character before verifying that
there *is* a next character. In the worst case with the input buffer
right up against the end of memory, this would result in a segfault.
Problem spotted by Paul Guyot; this commit extends his patch to fix an
additional case. In addition, make the code a tad more readable by not
overloading the usage of *tlen.
Diffstat (limited to 'src/include/executor/nodeBitmapHeapscan.h')
0 files changed, 0 insertions, 0 deletions
