[Prism54-devel] [Bug 75] New: prism54_process_trap does not check return value of mgt_oidtonum
bugzilla-daemon@mcgrof.com
bugzilla-daemon@mcgrof.com
Mon, 22 Mar 2004 08:16:14 +0000 (UTC)
http://prism54.org/cgi-bin/bugzilla/show_bug.cgi?id=75
Summary: prism54_process_trap does not check return value of
mgt_oidtonum
Product: prim54
Version: 1.0.2.2
Platform: all
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: Device Driver
AssignedTo: prism54-devel@prism54.org
ReportedBy: Jo_Stein@web.de
kernel 2.6.5-rc1
prism54 1.1
isl_ioctl.c line #1896
On error (no match) mgt_oidtonum
returns 0 which only accidentally does not harm because oid 0 is not handled in
prism54_process_trap_helper.
Proposed fix: mgt_oidtonum should return OID_NUM_LAST
and prism54_process_trap should do nothing if that value is returned by mgt_oidtonum.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.