[Top][All Lists]

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

[Lynx-dev] segfault when removing an expired cookie

From: Mike Gorse
Subject: [Lynx-dev] segfault when removing an expired cookie
Date: Thu, 27 Nov 2014 09:36:49 -0500 (EST)
User-agent: Alpine 2.00 (LRH 1167 2008-08-23)

I don't know if this is fixed already, but I just ran into a crash when trying to select a link on 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.


Attachment: backtrace.txt
Description: Text document

Attachment: cookie-crash.patch
Description: Text document

reply via email to

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