]> granicus.if.org Git - cgit/commit
Avoid null pointer dereference in reencode().
authorLukas Fleischer <cgit@cryptocrack.de>
Tue, 5 Apr 2011 08:35:43 +0000 (10:35 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 23 May 2011 20:58:35 +0000 (22:58 +0200)
commita0bf375a1a9b74056a913f3687c6f5b42ad4acf6
treed8845fbb7fcf73da11f29673081ed2ca31964e2e
parent070e109c1413d28b54eb6123a9fd24ac98897554
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>
parsing.c