diff options
author | Corey Minyard <[email protected]> | 2007-10-29 14:37:13 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-10-30 08:06:55 -0700 |
commit | 64e862a579015d229b8e40b6bc4ac3612e9656e1 (patch) | |
tree | 3e3033c61b438f8a1451d36a930b8657a23cadad /lib/genalloc.c | |
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 <[email protected]>
Cc: Adrian Bunk <[email protected]>
Cc: Stian Jordet <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions