From 7b9b097dec81a1817d368112b3f52883584944d8 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Tue, 11 Aug 2015 22:06:54 +0900 Subject: Update ChangeLog --- ChangeLog | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 994feb1..ba22b4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,64 @@ +2015-08-11 David Crosby + + Fix resource leaks, dead assignments, divide-by-zero, and so on. + Origin: https://github.com/dafyddcrosby/sw3m + + * buffer.c: Check for presence of prevl before using. + + * html.h: Adjust UFclose to remove false positive of CWE-481. + + * ftp.c: Move sockent for splint. + + * cookie.c: Use unsigned int for max_count. + + * libwc/iso2022.c: Add missing comparision that made if always true. + + * Str.c: Use fgetc in while loops, use int instead of char. + + * mailcap.c: Adjust len to size_t. + + * history.c: Check return value of rename. + + * main.c: Adjust while loop. + + * news.c: Check dup call for errors. + + * file.c: Remove unused value. + + * ftp.c: dup can give a negative value. + + * main.c: Use int for c. + + * table.c: Initialize new_tabwidth at declaration. + + * local.c: Remove overflow on readlink. + + * anchor.c, file.c, istream.c, main.c, menu.c, rc.c, table.c, terms.c: + * url.c: Remove dead assignments flagged by Clang static analysis. + + * w3mbookmark.c: + Move fclose to fix dereference after null check (Coverity). + + * file.c: Fix resource leak in AuthDigestCred. + + * buffer.c: Fix resource leak in readBufferCache. + + * cookie.c: Fix resource leak in load_cookies. + + * frame.c: Fix resource leak. + + * w3mhelperpanel.c: Fix resource leak. + + * w3mbookmark.c: Fix resource leak and a null return value dereference. + + * linein.c: Fix a divide-by-zero. + + * cookie.c: Change total_dot_number to unsigned int. + + * cookie.c: Free tmp. + + * local.c: Remove unreachable return. + 2015-08-10 Alan Grow * url.c (HTTPrequest): -- cgit v1.2.3