Opened 17 years ago
Closed 17 years ago
#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 (1)
Change History (2)
by , 17 years ago
Attachment: | hfadataset.patch added |
---|
comment:1 by , 17 years ago
Component: | default → GDAL_Raster |
---|---|
Keywords: | hfa added |
Milestone: | → 1.4.2 |
Resolution: | → fixed |
Status: | new → closed |
Patch applied in trunk, 1.4 and 1.4-esri branches.
Thanks!
Note:
See TracTickets
for help on using tickets.
Proposed patch