about summary refs log tree commit diff
path: root/shared.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 /shared.c
parentFix memory leak in http_parse_querystring(). (diff)
downloadcgit-pink-a0bf375a1a9b74056a913f3687c6f5b42ad4acf6.tar.gz
cgit-pink-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 '')
0 files changed, 0 insertions, 0 deletions
d1d10969fdbeb2866cd0adccee94c&follow=1'>Fix prune scriptJune McEnroe 2017-05-01Clean up SSH configJune McEnroe 2017-05-01Rename colorscheme "trivial"June McEnroe 2017-05-01Update vendored pathogenJune McEnroe 2017-05-01Clean up git configJune McEnroe 2017-05-01Clean up style in xxJune McEnroe 2017-05-01Clean up style in pbdJune McEnroe 2017-05-01Use EX_OK in pbcopyJune McEnroe 2017-04-30Clean up clockJune McEnroe 2017-04-30Clean up error strings in briJune McEnroe 2017-03-18Add -u option to xxJune McEnroe 2017-03-15Fix non-string-literal-format-string in briJune McEnroe 2017-03-15Fix bri compilationJune McEnroe 2017-03-15Use psvar for title settingJune McEnroe 2017-03-14Add bri brightness control scriptJune McEnroe 2017-03-14Add comment to tmux terminal overrideJune McEnroe 2017-03-13Have tmux set block cursor on linux consoleJune McEnroe 2017-03-13Use inverse for Visual in colorschemeJune McEnroe