aboutsummaryrefslogtreecommitdiffstats
path: root/ui-snapshot.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2016-07-06 09:08:01 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-06 11:29:23 +0200
commit590ba455d694deaf2ec206510cf7f047ac365a96 (patch)
treebfea40b66089cba4bd2f2120eb35725aae6b5531 /ui-snapshot.c
parentc19d983ed7b86face56e41effea4fffcf9ad1e19 (diff)
downloadcgit-590ba455d694deaf2ec206510cf7f047ac365a96.tar.gz
cgit-590ba455d694deaf2ec206510cf7f047ac365a96.tar.xz
ui-shared: fix segfault when defbranch is NULL
Not sure if there's a better fix for this. defbranch is NULL here on my setup when a crawler hit an invalid URL, causing strcmp to segfault. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'ui-snapshot.c')
0 files changed, 0 insertions, 0 deletions