aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2024-09-19 13:39:06 +0000
committerdrh <>2024-09-19 13:39:06 +0000
commitf8305e46169d531fce2f778b1de99b59b7cd2318 (patch)
tree7ab84a4889f8d15a45089fdaf8480956c8385d35 /src/sqliteInt.h
parent8513eb6ba84b11a645e1a60184cd649a2039c9e2 (diff)
downloadsqlite-f8305e46169d531fce2f778b1de99b59b7cd2318.tar.gz
sqlite-f8305e46169d531fce2f778b1de99b59b7cd2318.zip
Improved rebustness to malformed UTF-16 inputs to sqlite3_prepare16_v2().
FossilOrigin-Name: 7b3a517b3e16ea487ca77a2c88a0c11d737de366524fc911aa1bdd6bfb7ad148
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 0dab59f7a..604f7e975 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -5267,7 +5267,7 @@ int sqlite3GetInt32(const char *, int*);
int sqlite3GetUInt32(const char*, u32*);
int sqlite3Atoi(const char*);
#ifndef SQLITE_OMIT_UTF16
-int sqlite3Utf16ByteLen(const void *pData, int nChar);
+int sqlite3Utf16ByteLen(const void *pData, int nByte, int nChar);
#endif
int sqlite3Utf8CharLen(const char *pData, int nByte);
u32 sqlite3Utf8Read(const u8**);