From: Eric Wong Date: Wed, 4 Jan 2012 09:01:51 +0000 (+0000) Subject: segfault fix on some bogus requests X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/21418ec42a9a2de4c2c22eca7a1183b311914eca?hp=21418ec42a9a2de4c2c22eca7a1183b311914eca segfault fix on some bogus requests ctx.qry.head can be NULL in some cases due to bad requests by weird bots. I managed to reproduce with: PATH_INFO=/repo.git/shop.php QUERY_STRING=id= Signed-off-by: Eric Wong ---