summaryrefslogtreecommitdiff
path: root/ui-patch.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@lfos.de>2015-12-13 00:27:13 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2016-01-13 16:14:01 +0000
commitda1b89710f5eb25297a66613ff3130b2a31cb86a (patch)
tree75f0b942c7e46061c4f1e1096c7b185655aef2dc /ui-patch.c
parent559ab5ecc4445c8477ecf62c9fc97efa412dd562 (diff)
downloadcgit-da1b89710f5eb25297a66613ff3130b2a31cb86a.tar
cgit-da1b89710f5eb25297a66613ff3130b2a31cb86a.tar.gz
cgit-da1b89710f5eb25297a66613ff3130b2a31cb86a.zip
Fix segmentation fault in hc()
The ctx.qry.page variable might be unset at this point, e.g. when an invalid command is passed and cgit_print_pageheader() is called to show an error message. Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Diffstat (limited to 'ui-patch.c')
0 files changed, 0 insertions, 0 deletions