diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-09 10:08:09 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-09 10:08:09 +0000 |
commit | 6d161f15883a5bc1c1f2afe07bce871de1ed18a2 (patch) | |
tree | 9cf87413ea67a1d4274c7561d225620748299353 /callerid.c | |
parent | a2741a5731dbe634606ce69e842bc7b7d4ec3f8d (diff) |
More strcpy / snprintf as part of rgagnon's audit (bug #2004)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3410 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'callerid.c')
-rwxr-xr-x | callerid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/callerid.c b/callerid.c index 859a876dd..544345bea 100755 --- a/callerid.c +++ b/callerid.c @@ -242,8 +242,8 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int break; } - strcpy(cid->number, ""); - strcpy(cid->name, ""); + cid->number[0] = '\0'; + cid->name[0] = '\0'; /* If we get this far we're fine. */ if (cid->type == 0x80) { /* MDMF */ |