aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-05 17:23:50 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-05 17:23:50 +0000
commitcfbbdd26d50e6ada714cf6eaa369320b292968b8 (patch)
tree54618b84f54c489c4172267802a0a715c8a8fb13 /funcs
parent0f1fc9f5a0f8b800d87e885341ea150a952e0f6e (diff)
Missing field terminator
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42034 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index 30f873e9f..6051f8cea 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -310,6 +310,7 @@ static int acf_odbc_read(struct ast_channel *chan, char *cmd, char *s, char *buf
}
buf[buflen - 1] = ',';
+ buf[buflen] = '\0';
}
/* Trim trailing comma */
buf[buflen - 1] = '\0';