This repository was archived by the owner on Jul 25, 2020. It is now read-only.
This repository was archived by the owner on Jul 25, 2020. It is now read-only.
Cursor::get_text() is not safe #100
Closed
Description
In https://www.sqlite.org/c3ref/column_blob.html it is explained that pointers allocated by the sqlite3_column_blob
is invalidated by a call to sqlite3_column_text()
on the same column. Since this memory is owned by the Cursor
, get_text()
must take a mutable reference.
Metadata
Metadata
Assignees
Labels
No labels