SQLite 3.37.0 OOM Bugs in sqlite3StrAccumEnlarge and sqlite3BtreeIndexMoveto: Analysis and Fixes
Issue Overview: SQLite 3.37.0 Out-of-Memory (OOM) Bugs in sqlite3StrAccumEnlarge and sqlite3BtreeIndexMoveto The core issue revolves around two Out-of-Memory (OOM) bugs in SQLite version 3.37.0, specifically within the sqlite3StrAccumEnlarge and sqlite3BtreeIndexMoveto functions. These bugs manifest when executing specific SQL scripts that involve complex operations such as table creation, data insertion, and updates with nested queries. The…