summaryrefslogtreecommitdiff
path: root/ui-tree.c
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2011-04-05 10:35:43 +0200
committerLars Hjemli <hjemli@gmail.com>2011-05-23 22:58:35 +0200
commita0bf375a1a9b74056a913f3687c6f5b42ad4acf6 (patch)
treed8845fbb7fcf73da11f29673081ed2ca31964e2e /ui-tree.c
parent070e109c1413d28b54eb6123a9fd24ac98897554 (diff)
downloadcgit-a0bf375a1a9b74056a913f3687c6f5b42ad4acf6.tar.gz
cgit-a0bf375a1a9b74056a913f3687c6f5b42ad4acf6.tar.bz2
cgit-a0bf375a1a9b74056a913f3687c6f5b42ad4acf6.zip
Avoid null pointer dereference in reencode().
Returning "*txt" if "txt" is a null pointer is a bad thing. Spotted with clang-analyzer. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-tree.c')
0 files changed, 0 insertions, 0 deletions
td>René 'Necoro' Neumann1-43/+163 2009-11-07Better hg VCS prompt support.René 'Necoro' Neumann3-0/+82 2009-11-05Added VCSCommand vim plugin.René 'Necoro' Neumann15-3/+4235 2009-11-03Add hg config stuffRené 'Necoro' Neumann3-0/+555 2009-10-27Add line numbering for emacsRené 'Necoro' Neumann1-1/+5 2009-10-27Add "-m iff" to isabelle callRené 'Necoro' Neumann1-1/+1 2009-10-14add commandline completion for vimRené 'Necoro' Neumann1-0/+12