From c0336202f666c87269eca94bc675db2f6c506b26 Mon Sep 17 00:00:00 2001 From: "bbaetz%cs.mcgill.ca" <> Date: Mon, 12 Nov 2001 13:39:14 +0000 Subject: Bug 109690: Check $bug before using it. r=justdave,gerv --- long_list.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'long_list.cgi') diff --git a/long_list.cgi b/long_list.cgi index 0cde1e93a..63120e5eb 100755 --- a/long_list.cgi +++ b/long_list.cgi @@ -73,6 +73,7 @@ where assign.userid = bugs.assigned_to and report.userid = bugs.reporter and"; $::FORM{'buglist'} = "" unless exists $::FORM{'buglist'}; foreach my $bug (split(/:/, $::FORM{'buglist'})) { + if (!detaint_natural($bug)) || next; SendSQL(SelectVisible("$generic_query bugs.bug_id = $bug", $::userid, $::usergroupset)); -- cgit v1.2.3-24-g4f1b