aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2024-10-07 21:07:08 -0700
committerCarlos Maiolino <[email protected]>2024-10-11 12:32:48 +0200
commit0fb823f1cf3417e06846d1ffe2c97e10a65a847e (patch)
tree24c01701291bd162518e5d19d286306252ceb075 /lib/memory-notifier-error-inject.c
parent77bfe1b11ea0c0c4b0ce19b742cd1aa82f60e45d (diff)
xfs: fix integer overflow in xrep_bmap
The variable declaration in this function predates the merge of the nrext64 (aka 64-bit extent counters) feature, which means that the variable declaration type is insufficient to avoid an integer overflow. Fix that by redeclaring the variable to be xfs_extnum_t. Coverity-id: 1630958 Fixes: 8f71bede8efd ("xfs: repair inode fork block mapping data structures") Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions