diff options
Diffstat (limited to 'pbx/dundi-parser.c')
-rwxr-xr-x | pbx/dundi-parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx/dundi-parser.c b/pbx/dundi-parser.c index 8647183ca..2ea804f1c 100755 --- a/pbx/dundi-parser.c +++ b/pbx/dundi-parser.c @@ -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'; } |