diff options
author | drh <drh@noemail.net> | 2019-04-13 04:01:12 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-04-13 04:01:12 +0000 |
commit | 0aa3231ff0af4873cee2b044d1ba2b55688152b9 (patch) | |
tree | dc14c32f927a548a7adfaa2bd035fed60c5d3873 /src/expr.c | |
parent | 158931ab640fe6b0d3829d0321d04a4315e6e6cb (diff) | |
download | sqlite-0aa3231ff0af4873cee2b044d1ba2b55688152b9.tar.gz sqlite-0aa3231ff0af4873cee2b044d1ba2b55688152b9.zip |
Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables.
FossilOrigin-Name: 0b6ae032c28e7fe34d81d1769f6e2901addbd1b95cd9a255dcef274061fb0164
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 63f2c0129..0e64cd205 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1587,7 +1587,7 @@ ExprList *sqlite3ExprListAppend( }else if( (pList->nExpr & (pList->nExpr-1))==0 ){ ExprList *pNew; pNew = sqlite3DbRealloc(db, pList, - sizeof(*pList)+(2*pList->nExpr - 1)*sizeof(pList->a[0])); + sizeof(*pList)+(2*(sqlite3_int64)pList->nExpr-1)*sizeof(pList->a[0])); if( pNew==0 ){ goto no_mem; } |