commit | 3a49f3d2a10dfb27411d321900197a3d6c52405b | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Nov 06 16:30:03 2015 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Nov 06 17:50:42 2015 -0800 |
tree | 0f7073139fddf2dc6d1b1166a4d87458d3836ede | |
parent | 1965c8b7ac7dd147663faf77a66a693ac3ddcb85 [diff] |
fs/proc/array.c: set overflow flag in case of error For now in task_name() we ignore the return code of string_escape_str() call. This is not good if buffer suddenly becomes not big enough. Do the proper error handling there. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>