projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a79475
)
Missing field terminator
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Tue, 5 Sep 2006 17:23:50 +0000
(17:23 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Tue, 5 Sep 2006 17:23:50 +0000
(17:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42034
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
funcs/func_odbc.c
patch
|
blob
|
history
diff --git
a/funcs/func_odbc.c
b/funcs/func_odbc.c
index
30f873e
..
6051f8c
100644
(file)
--- 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';