Corey Minyard 64e862a579 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>
2007-10-30 08:06:55 -07:00
..
2007-10-23 12:37:59 +02:00
2007-10-24 10:16:02 +02:00
2007-10-19 11:53:54 -07:00
2007-10-23 09:49:31 +02:00
2007-10-29 07:41:32 -07:00
2007-08-18 17:15:17 -07:00
2007-10-23 08:09:20 +02:00