http://bugzilla.novell.com/show_bug.cgi?id=540997
http://bugzilla.novell.com/show_bug.cgi?id=540997#c2
--- Comment #2 from Jeff Mahoney 2009-11-20 00:26:45 UTC ---
Created an attachment (id=328562)
--> (http://bugzilla.novell.com/attachment.cgi?id=328562)
[PATCH] enclosure: fix oops while iterating enclosure_status array
enclosure_status is expected to be a NULL terminated array of strings
but isn't actually NULL terminated. When writing an invalid value to
/sys/class/enclosure/.../.../status, it goes off the end of the array
and Oopses.
This patch uses the array size instead.
Reported-by: Artur Wojcik
Signed-off-by: Jeff Mahoney
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.