commit | 40251b8eb46e48c011939a3ddf056fe13a223319 | [log] [tgz] |
---|---|---|
author | Kamil Dudka <kdudka@redhat.com> | Mon Jul 30 14:41:29 2012 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jul 30 17:25:17 2012 -0700 |
tree | 42bd1722443f2849273e6529f0c78515101546b5 | |
parent | 49ac572b93832210dc1895839692b3a51e5d0e27 [diff] |
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>