[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] segfault when removing an expired cookie
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] segfault when removing an expired cookie |
Date: |
Thu, 27 Nov 2014 11:53:11 -0500 (EST) |
----- Original Message -----
| From: "Mike Gorse" <address@hidden>
| To: address@hidden
| Sent: Thursday, November 27, 2014 9:36:49 AM
| Subject: [Lynx-dev] segfault when removing an expired cookie
|
| I don't know if this is fixed already, but I just ran into a crash
| when
| trying to select a link on m.facebook.com. Backtrace is attached.
| Presumably, I had an expired cookie that was being removed.
| scan_cookie_sublist can remove cookies from the sublist, but it then
| tries
| to iterate to the next item, relying on memory that it just freed.
| The
| attached patch should fix it.
|
| Note: This only applies to 2.8.8; 2.8.7 handled this correctly.
thanks (there was a bug-report on Fedora which this may be related to)
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net