diff --git a/BUILD.gn b/BUILD.gn old mode 100755 new mode 100644 diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.OpenSource b/README.OpenSource old mode 100755 new mode 100644 index 524feb82abb94493140b21a718002914340c5fcd..97fcad1b686572893684908ae8635854320e4042 --- a/README.OpenSource +++ b/README.OpenSource @@ -4,6 +4,7 @@ "License": "Public Domain", "License File": "LICENSE", "Version Number": "3.36.0", + "Owner": "wangbingquan@huawei.com", "Upstream URL": "https://www.sqlite.org/2021/sqlite-amalgamation-3360000.zip", "Description": "SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine." } diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/include/sqlite3.h b/include/sqlite3.h old mode 100755 new mode 100644 diff --git a/include/sqlite3ext.h b/include/sqlite3ext.h old mode 100755 new mode 100644 diff --git a/include/sqlite3sym.h b/include/sqlite3sym.h old mode 100755 new mode 100644 diff --git a/src/shell.c b/src/shell.c old mode 100755 new mode 100644 diff --git a/src/sqlite3.c b/src/sqlite3.c old mode 100755 new mode 100644 index fb854a833172daa4d8f204cc8b15e2d68eaa61b6..b1b1702f6ed80d132dced268dc476e733e0435ff --- a/src/sqlite3.c +++ b/src/sqlite3.c @@ -236477,17 +236477,17 @@ CODEC_STATIC void sqlite3CodecSetError(CodecContext *ctx, int error){ CODEC_STATIC void sqlite3CodecClearDeriveKey(KeyContext *keyCtx){ if(keyCtx->key != NULL){ - memset_s(keyCtx->key, keyCtx->codecConst.keySize, 0, keyCtx->codecConst.keySize); + (void)memset_s(keyCtx->key, keyCtx->codecConst.keySize, 0, keyCtx->codecConst.keySize); sqlite3_free(keyCtx->key); keyCtx->key = NULL; } if(keyCtx->hmacKey != NULL){ - memset_s(keyCtx->hmacKey, keyCtx->codecConst.keySize, 0, keyCtx->codecConst.keySize); + (void)memset_s(keyCtx->hmacKey, keyCtx->codecConst.keySize, 0, keyCtx->codecConst.keySize); sqlite3_free(keyCtx->hmacKey); keyCtx->hmacKey = NULL; } if(keyCtx->keyInfo != NULL){ - memset_s(keyCtx->keyInfo, keyCtx->codecConst.keyInfoSize, 0, keyCtx->codecConst.keyInfoSize); + (void)memset_s(keyCtx->keyInfo, keyCtx->codecConst.keyInfoSize, 0, keyCtx->codecConst.keyInfoSize); sqlite3_free(keyCtx->keyInfo); keyCtx->keyInfo = NULL; } @@ -236496,7 +236496,7 @@ CODEC_STATIC void sqlite3CodecClearDeriveKey(KeyContext *keyCtx){ CODEC_STATIC void sqlite3CodecClearPassword(KeyContext *keyCtx){ if(keyCtx->password != NULL){ - memset_s(keyCtx->password, keyCtx->passwordSize, 0, keyCtx->passwordSize); + (void)memset_s(keyCtx->password, keyCtx->passwordSize, 0, keyCtx->passwordSize); sqlite3_free(keyCtx->password); keyCtx->password = NULL; }