Hello,

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.

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

Paul
-- 
Semiocast            http://semiocast.com/
+33.183627948 - 20 rue Lacaze, 75014 Paris

Attachment: test_parser.c.diff
Description: Binary data

-- 
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