X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/94b4fbf93a7653bd9acb52649d6a4a8d5f994d0a..ad06ad57105e663984ee06780067503cbf5a22c4:/libratbox/src/patricia.c diff --git a/libratbox/src/patricia.c b/libratbox/src/patricia.c index 33484f8..438763e 100644 --- a/libratbox/src/patricia.c +++ b/libratbox/src/patricia.c @@ -4,7 +4,6 @@ * This was then yanked out of the ratbox/devel/src tree and stuffed into * libratbox and had function names changed, but otherwise not really altered. * - * $Id: patricia.c 24244 2007-08-22 19:04:55Z androsyn $ * Dave Plonka * * This product includes software developed by the University of Michigan, @@ -72,7 +71,7 @@ prefix_toa2x(rb_prefix_t *prefix, char *buf, int buf_len, int with_len) static char tmp[6]; if(prefix == NULL) { - strcpy(buf, "(NULL)"); + rb_strlcpy(buf, "(NULL)", buf_len); return (buf); } inet_ntop(prefix->family, &prefix->add.sin, buf, buf_len);