]> git.cameronkatri.com Git - cgit.git/commitdiff
Fix segmentation fault in hc()
authorLukas Fleischer <lfleischer@lfos.de>
Sun, 13 Dec 2015 00:27:13 +0000 (01:27 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 13 Jan 2016 16:14:01 +0000 (17:14 +0100)
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>

No differences found