Correction to dbReComputeBboxFunc() to fix a potential issue with

an uninitialized bounding box value.
This commit is contained in:
R. Timothy Edwards 2025-09-10 16:54:25 -04:00
parent 741216d6f3
commit 0022c502c8
1 changed files with 2 additions and 0 deletions

View File

@ -621,6 +621,8 @@ dbReComputeBboxFunc(cellDef, boundProc, recurseProc)
*/
if ((foundAny = DBBoundCellPlane(cellDef, &extended, &rect)) > 0)
area = rect;
else
extended = GeoNullRect;
for (pNum = PL_PAINTBASE; pNum < DBNumPlanes; pNum++)
if (pNum != PL_DRC_CHECK)