Why is this an issue?
In src/storage/buffer_pool_manager.cpp:44-48:
if (!file || !storage_.read_page(...)) {
return nullptr;
}
// No validation that page_type matches expected!
Corrupted or wrong-type pages accepted without detection.
What is causing it?
Missing page type validation.
How can it be solved?
Validate page_type header on read.
Category
Severity
Why is this an issue?
In
src/storage/buffer_pool_manager.cpp:44-48:Corrupted or wrong-type pages accepted without detection.
What is causing it?
Missing page type validation.
How can it be solved?
Validate page_type header on read.
Category
Severity