Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
3461:fd2936bbfc5f | 3462:6c7605dfcf07 |
---|---|
1 2006-06-16 Jerry James <james@xemacs.org> | |
2 | |
3 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before | |
4 checking if it is NULL. Also fix a memory leak. | |
5 * fileio.c (Finsert_file_contents_internal): Remove dead code. | |
6 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or | |
7 xic before checking if they are NULL. | |
8 * md5.c (Fmd5): Check whether Lstream_read encountered an error. | |
9 * nas.c (Err): Fix a memory leak. | |
10 * scrollbar-x.c (x_free_scrollbar_instance): Do not dereference | |
11 instance->scrollbar_data before checking if it is NULL. | |
12 * text.c (eicmp_1): Move assertions to before the point where they | |
13 must be true for correctness. | |
14 * vdb-posix.c (vdb_fault_handler): Guard against a return from | |
15 ABORT(). | |
16 * window.c (change_window_height): Skip always true comparison in | |
17 the expansion of CURCHARSIZE. | |
18 | |
1 2006-06-16 Jerry James <james@xemacs.org> | 19 2006-06-16 Jerry James <james@xemacs.org> |
2 | 20 |
3 * alloc.c: Don't add MODULE_DEFINABLE_TYPE_COUNT to | 21 * alloc.c: Don't add MODULE_DEFINABLE_TYPE_COUNT to |
4 countof (lrecord_implementations_table); the latter is already big | 22 countof (lrecord_implementations_table); the latter is already big |
5 enough. | 23 enough. |