]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-refs.c: avoid segfault on unparsed ref objects
authorLars Hjemli <hjemli@gmail.com>
Tue, 3 Aug 2010 20:06:21 +0000 (22:06 +0200)
committerLars Hjemli <hjemli@gmail.com>
Tue, 3 Aug 2010 20:06:21 +0000 (22:06 +0200)
When a ref refers to something other then a commit or tag object, cgit
could segfault when trying to display the tag info.

Noticed-by: Eugene Sajine <euguess@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>

No differences found