diff options
author | Eric Wong <normalperson@yhbt.net> | 2016-07-06 07:08:01 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-06 09:29:23 +0000 |
commit | 590ba455d694deaf2ec206510cf7f047ac365a96 (patch) | |
tree | bfea40b66089cba4bd2f2120eb35725aae6b5531 /scan-tree.c | |
parent | c19d983ed7b86face56e41effea4fffcf9ad1e19 (diff) | |
download | cgit-590ba455d694deaf2ec206510cf7f047ac365a96.tar cgit-590ba455d694deaf2ec206510cf7f047ac365a96.tar.gz cgit-590ba455d694deaf2ec206510cf7f047ac365a96.zip |
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 'scan-tree.c')
0 files changed, 0 insertions, 0 deletions