summaryrefslogtreecommitdiff
path: root/utils/extconf.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-03-07 06:54:47 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-03-07 06:54:47 +0000
commit8718878490016dbc64c36bc25e695672debf79d3 (patch)
tree3f8307275224caab3a5ba9fae26b4eebf54ab4cf /utils/extconf.c
parent5fa773a9f95727e11fc3f175fa456fdcfe3564bf (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@106553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/extconf.c')
-rw-r--r--utils/extconf.c2
1 files changed, 1 insertions, 1 deletions
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;
}