diff options
author | Wei Yang <[email protected]> | 2024-05-07 07:58:28 +0000 |
---|---|---|
committer | Mike Rapoport (IBM) <[email protected]> | 2024-06-05 10:22:22 +0300 |
commit | f6df89c3582a337090ae1f37c3648bdb35da29f7 (patch) | |
tree | afe1fce2eec169dc5ba26cd82769266da0f47b60 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 3d3165193776ddacf59f101f0fa05cfab9f1a9ba (diff) |
memblock tests: add memblock_reserve_many_may_conflict_check()
This may trigger the case fixed by commit 48c3b583bbdd ("mm/memblock:
fix overlapping allocation when doubling reserved array").
This is done by adding the 129th reserve region into memblock.memory. If
memblock_double_array() use this reserve region as new array, it fails.
Signed-off-by: Wei Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions