Opened 19 years ago
Last modified 19 years ago
#938 closed defect (fixed)
HFA Compression code does not malloc enough space
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | major | Keywords: | |
Cc: |
Description
Both m_pCounts and m_pValues areas should be allocated at least the size of a GUInt32 larger that they currently are to allow for the addition of an extra compressed value before the loop exits. Otherwise code overwrites beyond the allocated space.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch to allocate mroe space