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 11:29:23 +0200 |
commit | 590ba455d694deaf2ec206510cf7f047ac365a96 (patch) | |
tree | bfea40b66089cba4bd2f2120eb35725aae6b5531 /ui-commit.h | |
parent | c19d983ed7b86face56e41effea4fffcf9ad1e19 (diff) | |
download | cgit-590ba455d694deaf2ec206510cf7f047ac365a96.tar.gz cgit-590ba455d694deaf2ec206510cf7f047ac365a96.tar.bz2 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 'ui-commit.h')
0 files changed, 0 insertions, 0 deletions