diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-09-05 17:23:50 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2006-09-05 17:23:50 +0000 |
commit | bfef0a23ff1256e88eee5dd8887908f876e3a918 (patch) | |
tree | 54618b84f54c489c4172267802a0a715c8a8fb13 /funcs | |
parent | 4a7947501edd87a5050ad0124284157ba6a6e711 (diff) |
Missing field terminator
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_odbc.c | 1 |
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'; |