commit | 78b6513d2881f1a759fb9825a036d926392de084 | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Mon Mar 30 14:02:24 2009 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Mar 30 12:16:36 2009 -0700 |
tree | 4839959cb1e322dbabbaba2038fd7c85cb26cdff | |
parent | fd7cb031efb1dd71cb731668e2f597d9e61acdcb [diff] |
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>