From: Lukas Fleischer Date: Tue, 5 Apr 2011 08:35:43 +0000 (+0200) Subject: Avoid null pointer dereference in reencode(). X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/a0bf375a1a9b74056a913f3687c6f5b42ad4acf6?ds=inline;hp=a0bf375a1a9b74056a913f3687c6f5b42ad4acf6 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 Signed-off-by: Lars Hjemli ---