Skip to content

Embedded NULL (U+0000) characters #27

Description

@brody2consult

Embedded U+0000 NULL characters ('\u0000' or '\0') not working on Android (default Android-sqlite-evcore-native-driver access implementation) or Windows.

Solution on Android-sqlite-evcore-native-driver is to get the actual column length instead of using strlen().

Possible solution for Windows a solution was contributed in brody2consult/cordova-sqlite-storage#709.

Expected to be resolved in the next major release from brody2consult/cordova-sqlite-storage#687 if not sooner.

NULL character test TODOs:

  • test with NULL character in inline string value in SQL statement
  • test with NULL character in database file name

RELATED ISSUES:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions