[Pgpool-committers] pgpool - pgpool: Fix buffer over-run in health_check().

User Y-asaba y-asaba at pgfoundry.org
Thu May 11 03:00:07 UTC 2006


Log Message:
-----------
Fix buffer over-run in health_check().

If helth_check_user length is greater than 32 byte, buffer over-run
was caused by strcpy(). It uses strncpy() instead of strcpy().

Patch contributed by Taiki Yamaguchi.

Modified Files:
--------------
    pgpool:
        child.c (r1.14 -> r1.15)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool/child.c.diff?r1=1.14&r2=1.15)


More information about the Pgpool-committers mailing list