]> gitweb.ps.run Git - ps-cgit/commitdiff
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)
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>

No differences found