Ticket #3189 (closed defect: fixed)
GDALGridCreate with NULL progress callback function
| Reported by: | yilmaz | Owned by: | rouault |
|---|---|---|---|
| Priority: | low | Milestone: | 1.6.3 |
| Component: | GDAL_Raster | Version: | 1.6.2 |
| Severity: | minor | Keywords: | GDALGridCreate, progress, callback, NULL |
| Cc: |
Description
In the information header of function "GDALGridCreate" (and therefore in the corresponding documentation), it is stated that the progress callback function and its associated argument can be passed as NULL:
@param pfnProgress a GDALProgressFunc() compatible callback function for reporting progress or NULL. @param pProgressArg argument to be passed to pfnProgress. May be NULL.
In the function body, however, the callback function is called regardless of its being NULL, which leads to memory access violation.
Change History
Note: See
TracTickets for help on using
tickets.
