]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/message/i2o/i2o_proc.c: the pointer returned from chtostr() points to an...
authorKamil Dudka <kdudka@redhat.com>
Mon, 30 Jul 2012 21:41:29 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:17 +0000 (17:25 -0700)
commit06146bbfa9b81d7e79c570941b8fe40e875a5734
tree42bd1722443f2849273e6529f0c78515101546b5
parent33b4e1b832e850f84907251672f85bbc89115daa
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: Kamil Dudka <kdudka@redhat.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/message/i2o/i2o_proc.c