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
------
V4_7_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=96727fd988a48d82c935ae7eeb6387c268e6adc5
Modified Files
--------------
src/auth/pool_auth.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)