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>
This commit is contained in:
父節點
8a631b1173
當前提交
435a1da8d1
載入中…
x
新增問題並參考
Block a user