mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-11-20 01:24:15 +00:00
add_page used to accept any length, leaving the page with a len larger than its 1MB buffer. The module documentation already says that allocating more than 1MB panics. The check is in add_page, which is off the hot path.