dect
/
asterisk
Archived
13
0
Fork 0

Fix off-by-one buglet

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4147 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-11-02 21:38:38 +00:00
parent 4f39f6f23f
commit bd91710f17
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ static void dump_string(char *output, int maxlen, void *value, int len)
static void dump_cbypass(char *output, int maxlen, void *value, int len)
{
maxlen--;
strncpy(output, "Bypass Caches", maxlen);
output[maxlen] = '\0';
}