Mercurial > hg > xemacs-beta
diff src/ChangeLog @ 3462:6c7605dfcf07
[xemacs-hg @ 2006-06-19 18:19:33 by james]
Fix various problems found by static checkers: use of uninitialized values,
dereferencing pointers before checking whether they are NULL, memory leaks,
and incomplete checking of return values. <m3k67gpyhk.fsf@jerrypc.cs.usu.edu>
author | james |
---|---|
date | Mon, 19 Jun 2006 18:19:38 +0000 |
parents | fd2936bbfc5f |
children | 3aab51033467 |
line wrap: on
line diff
--- a/src/ChangeLog Mon Jun 19 18:10:19 2006 +0000 +++ b/src/ChangeLog Mon Jun 19 18:19:38 2006 +0000 @@ -1,3 +1,21 @@ +2006-06-16 Jerry James <james@xemacs.org> + + * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before + checking if it is NULL. Also fix a memory leak. + * fileio.c (Finsert_file_contents_internal): Remove dead code. + * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or + xic before checking if they are NULL. + * md5.c (Fmd5): Check whether Lstream_read encountered an error. + * nas.c (Err): Fix a memory leak. + * scrollbar-x.c (x_free_scrollbar_instance): Do not dereference + instance->scrollbar_data before checking if it is NULL. + * text.c (eicmp_1): Move assertions to before the point where they + must be true for correctness. + * vdb-posix.c (vdb_fault_handler): Guard against a return from + ABORT(). + * window.c (change_window_height): Skip always true comparison in + the expansion of CURCHARSIZE. + 2006-06-16 Jerry James <james@xemacs.org> * alloc.c: Don't add MODULE_DEFINABLE_TYPE_COUNT to