diff options
| author | Eric Sandeen <[email protected]> | 2015-03-25 14:54:25 +1100 |
|---|---|---|
| committer | Dave Chinner <[email protected]> | 2015-03-25 14:54:25 +1100 |
| commit | b26384dc52edba2f5fcc2b38eccc98e1f44bb379 (patch) | |
| tree | b2a82b58703fa68c9ab9a3175fa86006b0bb3efc /scripts/gdb/linux/config.py | |
| parent | d64588ca28bcd58f100f7933d0c18c8b504162bb (diff) | |
xfs: fix NULL pointer dereference in xfs_filestream_lookup_ag()
If xfs_filestream_get_parent() fails, we have a null pip,
goto out, and attempt to IRELE(NULL). This causes a null
pointer dereference and BUG().
Fix this by directly returning NULLAGNUMBER in this case.
Reported-by: Adrien Nader <[email protected]>
Signed-off-by: Eric Sandeen <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions