ida: Fix crash in ida_free when the bitmap is empty
[ Upstream commit af73483f ] The IDA usually detects double-frees, but that detection failed to consider the case when there are no nearby IDs allocated and so we have a NULL bitmap rather than simply having a clear bit. Add some tests to the test-suite to be sure we don't inadvertently reintroduce this problem. Unfortunately they're quite noisy so include a message to disregard the warnings. Reported-by:Zhenghan Wang <wzhmmmmm@gmail.com> Signed-off-by:
Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
-
mentioned in commit d632b78a
-
mentioned in commit 5f12c91a
-
mentioned in commit 5f12c91a
-
mentioned in commit 5f12c91a
-
mentioned in commit 5f12c91a
-
mentioned in commit 4e015450
-
mentioned in commit 067856b8
-
mentioned in commit 4e373a87
-
mentioned in commit 79167160
-
mentioned in commit 79167160
-
mentioned in commit 8fbed1ea
Please sign in to comment