summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2023-06-28 21:04:34 +0300
committerDarrick J. Wong <djwong@kernel.org>2023-06-29 19:28:24 +0300
commit2bed0d82c2f78b91a0a9a5a73da57ee883a0c070 (patch)
treeb716d96226cb2c8463128b6d6b88e637ea635a3a /scripts/gdb/linux/vmalloc.py
parentedd8276dd70279c29d412d99b99c2c0cac1b2cdd (diff)
downloadlinux-2bed0d82c2f78b91a0a9a5a73da57ee883a0c070.tar.xz
xfs: fix bounds check in xfs_defer_agfl_block()
Need to happen before we allocate and then leak the xefi. Found by coverity via an xfsprogs libxfs scan. [djwong: This also fixes the type of the @agbno argument.] Fixes: 7dfee17b13e5 ("xfs: validate block number being freed before adding to xefi") Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions