Opened 15 years ago
Closed 15 years ago
#2918 closed defect (fixed)
out of bound access in geoconcept.c
Reported by: | Even 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 (1)
Change History (6)
comment:1 by , 15 years ago
comment:5 by , 15 years ago
Milestone: | → 1.6.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I've backported it to branches/1.6 in r16680
Note:
See TracTickets
for help on using tickets.
Ok, I will fixed that asap.