From cfbbdd26d50e6ada714cf6eaa369320b292968b8 Mon Sep 17 00:00:00 2001 From: tilghman Date: Tue, 5 Sep 2006 17:23:50 +0000 Subject: Missing field terminator git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42034 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/func_odbc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'funcs') 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'; -- cgit v1.2.3