diff options
| author | Joern Engel <[email protected]> | 2011-11-20 16:59:01 +0000 |
|---|---|---|
| committer | Prasad Joshi <[email protected]> | 2012-01-28 05:54:21 +0000 |
| commit | 934eed395d201bf0901ca0c0cc3703b18729d0ce (patch) | |
| tree | 27847639b14a0fc16b850bd39c0ace939694d8f2 /lib/string_helpers.c | |
| parent | logfs: update page reference count for pined pages (diff) | |
| download | kernel-934eed395d201bf0901ca0c0cc3703b18729d0ce.tar.gz kernel-934eed395d201bf0901ca0c0cc3703b18729d0ce.zip | |
logfs: Prevent memory corruption
This is a bad one. I wonder whether we were so far protected by
no_free_segments(sb) usually being smaller than LOGFS_NO_AREAS.
Found by Dan Carpenter <[email protected]> using smatch.
Signed-off-by: Joern Engel <[email protected]>
Signed-off-by: Prasad Joshi <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
