mirror of https://git.zx2c4.com/cgit/
ui-shared.c: fix segfault when repo is empty
PATH_INFO="/$REPONAME/commit/?id=1" QUERY_STRING="id=1" ./cgit.cgi triggers segfault when the repository is empty and therefore ctx.qry.head is unset Signed-off-by: Florian Pritz <bluewind@xssn.at> Signed-off-by: Lars Hjemli <hjemli@gmail.com>lh/pretty-blob-view
parent
c86e206a97
commit
8d946079c5
Loading…
Reference in New Issue