Embedded NULL (U+0000) characters
brodycj opened this issue · 0 comments
brodycj commented
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: