Fix pgproto buffer out of range access error.
ASAN detected pgproto's buffer out of range access error. When it
tried to detect the continuation line (backslash + line feed), it
unconditionally access read buffer without checking the read length.
Fix is, adding buffer length check before accessing the buffer.
Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: v4.3
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d5c31d7a5b0301badc103080600c55e01397a007
Modified Files
--------------
src/tools/pgproto/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)