From 5355a54c26f6fbf6ac7a6fd74877f9ef71ab53e5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 24 Nov 2009 22:34:30 -0800 Subject: Fix uninitialized memory locations. --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8896665a..f0a326b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2009-11-24 Kaz Kylheku + + Fix uninitialized memory locations. + + * hash.c (make_hash): Uninitialized h->count member. + + * lib.c (mkustring): Preallocated string buffer to have its + null terminator byte initialized, because the caller + does not do so (e.g. see lit_har_helper in parser.y). + The calling module is responsible for initializing all API-accessible + parts of the string, but the null belongs to the string implementation. + 2009-11-24 Kaz Kylheku Switching to keyword symbols for :args and :nothrow. -- cgit v1.2.3