commit | 10479e2dea83d4c421ad05dfc55d918aa8dfc0cd | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jul 17 14:30:57 2017 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Jul 20 14:42:33 2017 -0700 |
tree | 65bd2a8994345c5b793541206f54a15bf56903a9 | |
parent | 4c1a67bd3606540b9b42caff34a1d5cd94b1cf65 [diff] |
xfs: check _alloc_read_agf buffer pointer before using In some circumstances, _alloc_read_agf can return an error code of zero but also a null AGF buffer pointer. Check for this and jump out. Fixes-coverity-id: 1415250 Fixes-coverity-id: 1415320 Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>