diff options
| author | seteiro <[email protected]> | 2026-11-12 00:03:50 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-11-13 09:46:53 +0800 |
| commit | def57de5964ee93614ad803af19abc610a720269 (patch) | |
| tree | 0b2377be873d16c7ce3ce95df41c7e27847ef6d7 /components/external/SQLite-3.8.1/src | |
| parent | 0ad1f51a7f98a31754c15efd89c3a6fc0c51610a (diff) | |
[drivers][block] reject GPT entry table size overflow
Validate sizeof_partition_entry and num_partition_entries in
alloc_read_gpt_entries() before multiplying into rt_size_t, rejecting zero
counts, mismatched entry sizes, and entries_nr > RT_SIZE_MAX / entry_size.
Track the validated entry count allocated and read by alloc_read_gpt_entries()
and bound the efi_partition() walk by min(validated_entries, max_partitions)
instead of re-reading raw on-disk num_partition_entries.
Fixes #11260
Diffstat (limited to 'components/external/SQLite-3.8.1/src')
0 files changed, 0 insertions, 0 deletions
