From 439a070de35f114090203562571533eb3f91b78d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 12 Jan 2007 06:49:46 +0000 Subject: [PATCH] =?utf8?q?Bug=20366738:=20Use=20of=20uninitialized=20value?= =?utf8?q?=20in=20numeric=20eq=20(=3D=3D)=20in=20./importxml.pl=20if=20the?= =?utf8?q?=20bug=20is=20not=20visible=20to=20the=20reporter=20and=20the=20?= =?utf8?q?CC=20list=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Bu?= =?utf8?q?clin=20=20r=3Dmyk=20r=3Dghendricks=20a=3DLpSo?= =?utf8?q?lit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- importxml.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importxml.pl b/importxml.pl index bd10e65403..c19f6d96fa 100755 --- a/importxml.pl +++ b/importxml.pl @@ -612,10 +612,10 @@ sub process_bug { # Bug Access push( @query, "cclist_accessible" ); - push( @values, $bug_fields{'cclist_accessible'} == 1 ? 1 : 0 ); + push( @values, $bug_fields{'cclist_accessible'} ? 1 : 0 ); push( @query, "reporter_accessible" ); - push( @values, $bug_fields{'reporter_accessible'} == 1 ? 1 : 0 ); + push( @values, $bug_fields{'reporter_accessible'} ? 1 : 0 ); # Product and Component if there is no valid default product and # component defined in the parameters, we wouldn't be here -- 2.47.2