Home
last modified time | relevance | path

Searched hist:"3 a49f3d2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/proc/
H A Darray.c3a49f3d2 Fri Nov 06 18:30:03 CST 2015 Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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>
3a49f3d2 Fri Nov 06 18:30:03 CST 2015 Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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>