1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00
Kalle Olavi Niemitalo e9d4d3aef2 Fix crash after a tab was opened during reload.
Commit 0b99fa70ca9d0f976655e61adee1a5eebacc0734 "Bug 620: Reset form
fields to default values on reload" made render_document() decrement
vs->form_info_len to 0 while vs->form_info remained non-NULL.
copy_vs() then copied the whole structure with copy_struct and did not
change form_info because form_info_len was 0.  Both view_state
structures had form_info pointing to the same memory block, causing a
segfault when destroy_vs() tried to free that block a second time.

Reported by أحمد المحمودي.
2008-07-15 11:43:03 +03:00
..
2007-09-14 16:44:04 +02:00
2007-07-27 14:13:27 +03:00
2007-07-27 14:13:27 +03:00
2007-07-27 14:13:27 +03:00
2005-10-20 04:00:35 +02:00
2006-05-20 15:01:24 +00:00
2005-10-21 09:14:07 +02:00
2006-09-17 16:12:47 +03:00
2007-12-16 01:14:08 +02:00
2007-12-16 01:13:39 +02:00
2007-08-29 09:57:18 +03:00