commit | 64e862a579015d229b8e40b6bc4ac3612e9656e1 | [log] [tgz] |
---|---|---|
author | Corey Minyard <cminyard@mvista.com> | Mon Oct 29 14:37:13 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Tue Oct 30 08:06:55 2007 -0700 |
tree | 3e3033c61b438f8a1451d36a930b8657a23cadad | |
parent | cc5f916e90a811dd8f809b4d17409f98e74b237c [diff] |
IPMI: fix comparison in demangle_device_id Coverity spotted some incorrect code in a recent change to the IPMI driver; this patch make sure the data is really long enough to pull the manufacturer id and product id out of a get device id message. Signed-off-by: Corey Minyard <cminyard@mvista.com> Cc: Adrian Bunk <bunk@kernel.org> Cc: Stian Jordet <liste@jordet.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>