1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Make sure the bbox object is fully initialized in geopoly, even if reading

a corrupted database.

FossilOrigin-Name: fd5abb1a7b5a55127d5c0d5ff448020d8bccab44e4f5afe1eb88fc19578af735
This commit is contained in:
drh
2020-06-10 14:30:15 +00:00
parent f65e379919
commit ac4f7cf8d3
3 changed files with 10 additions and 8 deletions

View File

@ -683,6 +683,8 @@ static GeoPoly *geopolyBBox(
aCoord[2].f = mnY;
aCoord[3].f = mxY;
}
}else{
memset(aCoord, 0, sizeof(RtreeCoord)*4);
}
return pOut;
}