From f772aa865dac47a637eae77a9fe9b1c729679d72 Mon Sep 17 00:00:00 2001 From: zqq Date: Wed, 14 Dec 2022 11:51:40 +0800 Subject: [PATCH] fixed 814c97d from https://gitee.com/zqq_ddd/third_party_sqlite/pulls/49 fixed 92a4afd from https://gitee.com/zqq_ddd/third_party_sqlite/pulls/48 CVE-2022-46908 Signed-off-by: zqq --- src/shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell.c b/src/shell.c index 26c0ae5..dc66c40 100644 --- a/src/shell.c +++ b/src/shell.c @@ -12887,7 +12887,7 @@ static int safeModeAuth( "zipfile", "zipfile_cds", }; - UNUSED_PARAMETER(zA2); + UNUSED_PARAMETER(zA1); UNUSED_PARAMETER(zA3); UNUSED_PARAMETER(zA4); switch( op ){ @@ -12898,7 +12898,7 @@ static int safeModeAuth( case SQLITE_FUNCTION: { int i; for(i=0; i