lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev [PATCH][pre2] yet another cookie leak


From: John Bley
Subject: lynx-dev [PATCH][pre2] yet another cookie leak
Date: Tue, 11 May 1999 17:05:54 -0400 (EDT)

* Fix a leak in the warning message about invalid cookies (John Bley)

Just hit 46% code coverage and the bugs are getting harder and harder to 
find.... :-)

-- 
John Bley - address@hidden
Duke '99 - English/Computer Science
  Since English is a mess, it maps well onto the problem space,
  which is also a mess, which we call reality.     - Larry Wall

diff -Burp lynx2-8-2/src/LYCookie.c lynx2-8-2-patched/src/LYCookie.c
--- lynx2-8-2/src/LYCookie.c    Sat May  8 13:46:28 1999
+++ lynx2-8-2-patched/src/LYCookie.c    Tue May 11 17:01:44 1999
@@ -338,6 +338,8 @@ PRIVATE void store_cookie ARGS3(
                            co = NULL;
                            FREE(msg);
                            return;
+                       } else {
+                           FREE(msg);
                        }
                }
        }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]