cgit.c: do not segfault on unexpected query-string format The querystring_cb() function will be invoked with a NULL value when the querystring contains a name not followed by a '='. Such a value used to cause a segfault, which this patch fixes. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Lars Hjemli hjemli@gmail.com
Mon, 17 Aug 2009 09:05:13 +0200
1 files changed,
3 insertions(+),
0 deletions(-)
jump to