Ticket #2918 (closed defect: fixed)
out of bound access in geoconcept.c
| Reported by: | rouault | Owned by: | dgrichard |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | default | Version: | 1.6.0 |
| Severity: | normal | Keywords: | geoconcept |
| Cc: |
Description
GCC 4.4 reports the following warnings :
geoconcept.c: In function ‘_readConfigFieldSubType_GCIO’: geoconcept.c:3522: attention : array subscript is above array bounds geoconcept.c: In function ‘_readConfigFieldType_GCIO’: geoconcept.c:3333: attention : array subscript is above array bounds geoconcept.c: In function ‘ReadConfig_GCIO’: geoconcept.c:3145: attention : array subscript is above array bounds
It looks like n[kExtraSize_GCIO-1] should be replaced by x[kExtraSize_GCIO-1]...
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

