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

Fix a problem with the geopoly_bbox() function.

FossilOrigin-Name: f3a2eb979f1003e8249e613b34afd345f157c0d54b4f05ea0db230ef70e71351
This commit is contained in:
drh
2021-04-02 18:59:13 +00:00
parent 22af584e3e
commit ec435c40ed
3 changed files with 8 additions and 8 deletions

View File

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