From bde3a3e9a0b10a9274a837ea09296400cdd513c9 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Wed, 17 Aug 2016 19:47:19 +0900 Subject: Prevent negative array index for selectnumber and textareanumber Bug-Debian: https://github.com/tats/w3m/issues/12 [CVE-2016-9424] Origin: https://anonscm.debian.org/cgit/collab-maint/w3m.git/commit/?id=a25fd09f74fb83499396935a96d63bb7cb8e2c58 --- file.c | 8 ++++---- form.c | 8 ++++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/file.c b/file.c index d06b2cf..4056393 100644 --- a/file.c +++ b/file.c @@ -67,7 +67,7 @@ static int cur_status; #ifdef MENU_SELECT /* menu based