diff options
author | drh <drh@noemail.net> | 2020-07-22 18:03:56 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-07-22 18:03:56 +0000 |
commit | 3b3ddbae36ea40bf0f7d7ef707e722fdad8aa9c0 (patch) | |
tree | 060f77c2f36e9517d2c867c575861803e378ce6a /src/sqliteInt.h | |
parent | 584e8b76303ff2146c5eb831ace29993f00ef510 (diff) | |
download | sqlite-3b3ddbae36ea40bf0f7d7ef707e722fdad8aa9c0.tar.gz sqlite-3b3ddbae36ea40bf0f7d7ef707e722fdad8aa9c0.zip |
When parsing the schema, detect out-of-bounds rootpage values and throw an
error.
FossilOrigin-Name: 6c3a2727dc912ed800146e07db5d15d0f3468d13701165ba763c4b114c3e18e8
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 32155892f..f2a26109c 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3629,6 +3629,7 @@ typedef struct { int rc; /* Result code stored here */ u32 mInitFlags; /* Flags controlling error messages */ u32 nInitRow; /* Number of rows processed */ + Pgno mxPage; /* Maximum page number. 0 for no limit. */ } InitData; /* |