Opened 12 years ago

Closed 12 years ago

#4585 closed enhancement (fixed)

GDALWarpKernel PerformWarp Does not check return value of progress function call

Reported by: mchapman Owned by: warmerdam
Priority: low Milestone: 1.10.0
Component: GDAL_Raster Version: unspecified
Severity: trivial Keywords: GDALWarpKernel
Cc:

Description

At the top of the function GDALWarpKernel::PerformWarp() in gdalwarpkernel.cpp the call to pfnProgress( dfProgressBase + dfProgressScale, "", pProgress ); does not check for the progress return value thus eliminating the possibility for a controlling application to cancel the warp operation mid stream. The test case was using ChunkAndWarpMulti(); If there is a work around I would like to be notified how to do it please.

Change History (2)

comment:1 by mchapman, 12 years ago

Summary: GDALWarpKernel PerformWarp Does not check return value of progress valueGDALWarpKernel PerformWarp Does not check return value of progress function call

comment:2 by Even Rouault, 12 years ago

Milestone: 2.0.0
Resolution: fixed
Status: newclosed

Fixed in trunk (r24161)

Note: See TracTickets for help on using tickets.