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>
Florian Pritz bluewind@xssn.at
Mon, 01 Feb 2010 17:55:37 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to