[gq-commit] gq/src search.c,1.40,1.41
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-06 06:42:15
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv5749 Modified Files: search.c Log Message: * Fixed and "almost bufferoverflow" (if it wasn't for snprintf) Index: search.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/search.c,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** search.c 5 Oct 2003 13:47:43 -0000 1.40 --- search.c 6 Oct 2003 06:42:06 -0000 1.41 *************** *** 359,362 **** --- 359,363 ---- } else if(g_utf8_strchr(querystring, -1, '=')) { + l += 3; filter = g_malloc(l); snprintf(filter, l, "(%s)", querystring); |