diff options
author | Lukas Czerner <lczerner@redhat.com> | 2011-05-20 13:55:29 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-05-20 13:55:29 -0400 |
commit | 1bb933fb1fa8e4cb337a0d5dfd2ff4c0dc2073e8 (patch) | |
tree | d03bbc0de028862fb9df1d7941a03103150d69de /include/media/cx25840.h | |
parent | 51ce65115642b77040f5582b8d2fc8815ac450f9 (diff) |
ext4: fix possible use-after-free in ext4_remove_li_request()
We need to take reference to the s_li_request after we take a mutex,
because it might be freed since then, hence result in accessing old
already freed memory. Also we should protect the whole
ext4_remove_li_request() because ext4_li_info might be in the process of
being freed in ext4_lazyinit_thread().
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'include/media/cx25840.h')
0 files changed, 0 insertions, 0 deletions