http://bugzilla.novell.com/show_bug.cgi?id=517281
Summary: sane-backends-1.0.20: bad for loop Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: ---
I just had a look at factory package sane-backends-1.0.20-2.2 For source code file sane-backends-1.0.20/backend/hp3900_config.c around line 940 is the source code
for (a = 0; a < 12; a++) { if (myreg[a].resolution == resolution)
but struct myreg only has six entries, not 12. Suggest rework code.