From d61c17b5b2338a17d82b326f710d303410bbd4ef Mon Sep 17 00:00:00 2001 From: tilghman Date: Fri, 7 Mar 2008 06:57:44 +0000 Subject: Merged revisions 106553 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r106553 | tilghman | 2008-03-07 00:54:47 -0600 (Fri, 07 Mar 2008) | 14 lines Merged revisions 106552 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r106552 | tilghman | 2008-03-07 00:36:33 -0600 (Fri, 07 Mar 2008) | 6 lines Safely use the strncat() function. (closes issue #11958) Reported by: norman Patches: 20080209__bug11958.diff.txt uploaded by Corydon76 (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@106554 f38db490-d61c-443f-a65b-d21fe96a405b --- utils/extconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/extconf.c') diff --git a/utils/extconf.c b/utils/extconf.c index c5b9fbdea..5d4b21eac 100644 --- a/utils/extconf.c +++ b/utils/extconf.c @@ -476,7 +476,7 @@ static void CB_ADD_LEN(char *str, int len) return; comment_buffer_size += CB_INCR+len+1; } - strncat(comment_buffer,str,len); + strncat(comment_buffer,str,len); /* safe */ comment_buffer[cbl+len-1] = 0; } -- cgit v1.2.3