Paul Guyot <pgu...@kallisys.net> writes:
> There is a buffer overflow in sample code's test_parser.c that can yield to a 
> segmentation fault. The next byte of the buffer is tested against ' ' before 
> its availability is checked.

Hmm, yeah.  The probability of a failure is very low of course, but
still it'd be better if the sample code didn't have bugs like this.

> You will find attached a simple patch that fixes the bug.

Will apply, thank you.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to