Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded NULL (U+0000) characters #27

Open
brodycj opened this issue Jan 18, 2018 · 0 comments
Open

Embedded NULL (U+0000) characters #27

brodycj opened this issue Jan 18, 2018 · 0 comments

Comments

@brodycj
Copy link
Contributor

brodycj commented Jan 18, 2018

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 storesafe/cordova-sqlite-storage#709.

Expected to be resolved in the next major release from storesafe/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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant