Skip to content
Commit 40251b8e authored by Kamil Dudka's avatar Kamil Dudka Committed by Linus Torvalds
Browse files

drivers/message/i2o/i2o_proc.c: the pointer returned from chtostr() points to...


drivers/message/i2o/i2o_proc.c: the pointer returned from chtostr() points to an array which is no longer valid

...  when being used in the calling function.  Although it may work, the
behavior is undefined.  Detected by cppcheck.

Signed-off-by: default avatarKamil Dudka <kdudka@redhat.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 49ac572b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment