Fix possible buffer overrun.
If the cancel key length is negative, a buffer overrun was possible in
authentication.
Per Coverity.
Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: v4.7
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=abb0076ca84e5e8ecbe273b06c6b34b5407c4488
Modified Files
--------------
src/auth/pool_auth.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)