Skip to content
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::step() is not safe #98

Closed
@apoelstra

Description

@apoelstra

In https://www.sqlite.org/c3ref/column_blob.html it is explained that pointers allocated by the sqlite_column_* are invalidated by calls to sqlite3_step(). Since this memory is owned by the Cursor, step() must take a mutable reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions