]> 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)
commit2804fbccf06587006d933636a863cd3e4068ca04
tree42bd1722443f2849273e6529f0c78515101546b5
parent64079ff4e3845efa4ca606236001ea7af290f605
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