1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-21 11:13:54 +03:00

Fix a harmless use-of-initialized-value warning from OSSFuzz that results

from recent large string optmizations.

FossilOrigin-Name: 1a6b3dd1c40277a0d0f0bb562ddc4868aadd632fc2d29be1b17bb33fc22c46c8
This commit is contained in:
drh
2023-07-22 15:21:41 +00:00
parent b2ee272075
commit 61a5b6e3bc
3 changed files with 8 additions and 7 deletions

View File

@@ -1227,6 +1227,7 @@ static void charFunc(
*zOut++ = 0x80 + (u8)(c & 0x3F);
} \
}
*zOut = 0;
sqlite3_result_text64(context, (char*)z, zOut-z, sqlite3_free, SQLITE_UTF8);
}