diff options
| author | Darrick J. Wong <[email protected]> | 2017-07-17 21:30:57 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2017-07-20 21:42:33 +0000 |
| commit | 10479e2dea83d4c421ad05dfc55d918aa8dfc0cd (patch) | |
| tree | 65bd2a8994345c5b793541206f54a15bf56903a9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | xfs: set firstfsb to NULLFSBLOCK before feeding it to _bmapi_write (diff) | |
| download | kernel-10479e2dea83d4c421ad05dfc55d918aa8dfc0cd.tar.gz kernel-10479e2dea83d4c421ad05dfc55d918aa8dfc0cd.zip | |
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 <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
