summaryrefslogtreecommitdiffstats
path: root/fs/proc/fd.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-11-06 16:30:03 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 17:50:42 -0800
commit3a49f3d2a10dfb27411d321900197a3d6c52405b (patch)
tree0f7073139fddf2dc6d1b1166a4d87458d3836ede /fs/proc/fd.c
parent1965c8b7ac7dd147663faf77a66a693ac3ddcb85 (diff)
downloadlinux-3a49f3d2a10dfb27411d321900197a3d6c52405b.tar.bz2
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>
Diffstat (limited to 'fs/proc/fd.c')
0 files changed, 0 insertions, 0 deletions