From c9353814799ae399ccddaf0d48d224ce9cd52b67 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 5 Jan 2015 14:46:25 +0100 Subject: 34116: computil: Check for NULL before passing to strlen The rest of this function appears to be very careful about checking these, then forgets in this one spot. Found by Coverity (Issue 1255805). --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 65c049868..b163935b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-01-06 Mikael Magnusson + * 34116: Src/Zle/computil.c: Check for NULL before passing + to strlen + * 34118: Src/hist.c: Don't crash when writing out history if HOST is unset -- cgit 1.4.1