diff options
author | Andi Kleen <[email protected]> | 2007-11-05 14:50:56 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2007-11-05 15:12:32 -0800 |
commit | 0b030c2c2f0f1d98d5fe412e5b7cf7fd53f5221a (patch) | |
tree | ff10db5bc25c1aa3e7cc5c8dac6807d76fd7f506 /net/unix/sysctl_net_unix.c | |
parent | 5a75983eef1193c43caebde6643a218bd8d8390e (diff) |
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 <[email protected]>
Acked-by: Paul Jackson <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions