summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/ibalance.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2009-03-30 20:02:24 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-03-30 21:16:36 +0200
commit78b6513d2881f1a759fb9825a036d926392de084 (patch)
tree4839959cb1e322dbabbaba2038fd7c85cb26cdff /fs/reiserfs/ibalance.c
parentreiserfs: eliminate reiserfs_warning from uniqueness functions (diff)
downloadlinux-78b6513d2881f1a759fb9825a036d926392de084.tar.xz
linux-78b6513d2881f1a759fb9825a036d926392de084.zip
reiserfs: add locking around error buffer
The formatting of the error buffer is race prone. It uses static buffers for both formatting and output. While overwriting the error buffer can product garbled output, overwriting the format buffer with incompatible % directives can cause crashes. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/ibalance.c')
0 files changed, 0 insertions, 0 deletions