]> gitweb.ps.run Git - ps-cgit/commitdiff
segfault fix on some bogus requests
authorEric Wong <normalperson@yhbt.net>
Wed, 4 Jan 2012 09:01:51 +0000 (09:01 +0000)
committerLars Hjemli <hjemli@gmail.com>
Sun, 18 Mar 2012 09:26:31 +0000 (09:26 +0000)
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 <normalperson@yhbt.net>

No differences found