| Index: third_party/sqlite/src/src/bitvec.c
|
| diff --git a/third_party/sqlite/src/src/bitvec.c b/third_party/sqlite/src/src/bitvec.c
|
| index 47d33ea840833e575464c853f501e7c60ef1bde6..52184aa964ce1898f35d1b3d87871c2d0ef4c53d 100644
|
| --- a/third_party/sqlite/src/src/bitvec.c
|
| +++ b/third_party/sqlite/src/src/bitvec.c
|
| @@ -72,7 +72,7 @@
|
| /*
|
| ** A bitmap is an instance of the following structure.
|
| **
|
| -** This bitmap records the existance of zero or more bits
|
| +** This bitmap records the existence of zero or more bits
|
| ** with values between 1 and iSize, inclusive.
|
| **
|
| ** There are three possible representations of the bitmap.
|
| @@ -340,10 +340,9 @@ int sqlite3BitvecBuiltinTest(int sz, int *aOp){
|
| /* Allocate the Bitvec to be tested and a linear array of
|
| ** bits to act as the reference */
|
| pBitvec = sqlite3BitvecCreate( sz );
|
| - pV = sqlite3_malloc( (sz+7)/8 + 1 );
|
| + pV = sqlite3MallocZero( (sz+7)/8 + 1 );
|
| pTmpSpace = sqlite3_malloc(BITVEC_SZ);
|
| if( pBitvec==0 || pV==0 || pTmpSpace==0 ) goto bitvec_end;
|
| - memset(pV, 0, (sz+7)/8 + 1);
|
|
|
| /* NULL pBitvec tests */
|
| sqlite3BitvecSet(0, 1);
|
|
|