[COMMITTERS] pgsql: Fix one-byte buffer overrun in contrib/test_parser.

2012-01-09 Thread Tom Lane
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

[COMMITTERS] pgsql: Fix one-byte buffer overrun in contrib/test_parser.

2012-01-09 Thread Tom Lane
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

[COMMITTERS] pgsql: Fix one-byte buffer overrun in contrib/test_parser.

2012-01-09 Thread Tom Lane
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

[COMMITTERS] pgsql: Fix one-byte buffer overrun in contrib/test_parser.

2012-01-09 Thread Tom Lane
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

[COMMITTERS] pgsql: Fix one-byte buffer overrun in contrib/test_parser.

2012-01-09 Thread Tom Lane
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