From: drh <> Date: Wed, 3 Jun 2026 11:30:01 +0000 (+0000) Subject: The prefix_length() function should stop at the first NUL terminator. X-Git-Tag: release~9 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f7915390d5b31acf11cc3d144d1779e217a564fa;p=thirdparty%2Fsqlite.git The prefix_length() function should stop at the first NUL terminator. FossilOrigin-Name: b5f9dc646df5059e546ceb1404a62aadeff4a33163d9b3758e78a33ff3c23467 --- diff --git a/ext/misc/prefixes.c b/ext/misc/prefixes.c index 9637b92fbe..ab60a22a90 100644 --- a/ext/misc/prefixes.c +++ b/ext/misc/prefixes.c @@ -296,7 +296,7 @@ static void prefixLengthFunc( nByte = (nL > nR ? nL : nR); for(i=0; i