Ticket #1646 (closed defect: fixed)
Passing NULL (default) pbSuccess pointer to Get{NoData,Minimum,Maximum}() in HFA band results in segfault
| Reported by: | rsheykhe | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.2 |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | hfa |
| Cc: |
Description
The default value for pbSuccess parameter to GetNoDataValue?(), GetMaximum?() and getMinimum() functions is NULL. If you leave it as NULL and query an HFA dataset, SEGFAULT from null pointer results. Suggested patch attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

