decoder could read 1 byte beyond data of section 4
Bug #1294321 reported by
vanh souvanlasy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libECBUFR |
Fix Committed
|
Low
|
vanh souvanlasy |
Bug Description
When an invalid BUFR message with a short data section 4. The decoder may read 1 byte beyond data of section4 in memory.
This could result in false value for the last descriptor if section 4 is short by 1 byte only.
Changed in libecbufr: | |
milestone: | none → 0.8.6 |
To post a comment you must log in.
substracted 1 from test condition before allowing use of next byte.