14 lines
426 B
Diff
14 lines
426 B
Diff
diff -up sqlite-2.8.17/src/encode.c.CVE-2007-1888 sqlite-2.8.17/src/encode.c
|
|
--- sqlite-2.8.17/src/encode.c.CVE-2007-1888 2019-04-10 14:51:32.854203706 -0400
|
|
+++ sqlite-2.8.17/src/encode.c 2019-04-10 14:52:34.692952419 -0400
|
|
@@ -176,6 +176,9 @@ int sqlite_decode_binary(const unsigned
|
|
int i, e;
|
|
unsigned char c;
|
|
e = *(in++);
|
|
+ if( e==0 ){
|
|
+ return 0;
|
|
+ }
|
|
i = 0;
|
|
while( (c = *(in++))!=0 ){
|
|
if( c==1 ){
|