diff options
author | Andi Kleen <ak@suse.de> | 2007-11-05 23:50:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-06 00:12:32 +0100 |
commit | 0b030c2c2f0f1d98d5fe412e5b7cf7fd53f5221a (patch) | |
tree | ff10db5bc25c1aa3e7cc5c8dac6807d76fd7f506 /scripts/gcc-x86_64-has-stack-protector.sh | |
parent | Missing include file in kallsyms.h (diff) | |
download | linux-0b030c2c2f0f1d98d5fe412e5b7cf7fd53f5221a.tar.xz linux-0b030c2c2f0f1d98d5fe412e5b7cf7fd53f5221a.zip |
Fix bitmap_scnlistprintf for empty masks
When a bitmap is empty bitmap_scnlistprintf() would leave the buffer
uninitialized. Set it to an empty string in this case.
I didn't see any in normal kernel callers hitting this, but some custom
debug code of mine did.
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gcc-x86_64-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions