[pgpool-committers: 659] pgpool: Replace some unsafe functions.

Yugo Nagata nagata at sraoss.co.jp
Mon Oct 1 14:15:21 JST 2012


Replace some unsafe functions.
 - Replace sprintf with snprintf.
 - Replace strncpy with stnlcpy.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d1035b634e42dc10d9abb77d87fa86c014a861f4

Modified Files
--------------
watchdog/watchdog.c |    6 +++---
watchdog/watchdog.h |    1 +
watchdog/wd_if.c    |   15 +++++++++------
watchdog/wd_list.c  |    6 +++---
watchdog/wd_ping.c  |   10 +++++-----
5 files changed, 21 insertions(+), 17 deletions(-)



More information about the pgpool-committers mailing list