Index: funcs/func_odbc.c =================================================================== --- funcs/func_odbc.c (revision 191559) +++ funcs/func_odbc.c (working copy) @@ -524,6 +524,7 @@ status = "SUCCESS"; for (y = 0; y < rowlimit; y++) { + buf[0] = '\0'; for (x = 0; x < colcount; x++) { int i; struct ast_str *coldata = ast_str_thread_get(&coldata_buf, 16);