diff options
author | 2012-05-28 14:16:57 -0400 | |
---|---|---|
committer | 2012-05-28 14:16:57 -0400 | |
commit | bb3d132a24cd8bf5e7773b2d9f9baa58b07a7dae (patch) | |
tree | c88fbbdb6464bfa35c047b207dd6097f3b447375 /drivers/spi/spi-omap2-mcspi.c | |
parent | ext4/jbd2: add metadata checksumming to the list of supported features (diff) | |
download | wireguard-linux-bb3d132a24cd8bf5e7773b2d9f9baa58b07a7dae.tar.xz wireguard-linux-bb3d132a24cd8bf5e7773b2d9f9baa58b07a7dae.zip |
ext4: fix potential NULL dereference in ext4_free_inodes_counts()
The ext4_get_group_desc() function returns NULL on error, and
ext4_free_inodes_count() function dereferences it without checking.
There is a check on the next line, but it's too late.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
0 files changed, 0 insertions, 0 deletions