decoder could read 1 byte beyond data of section 4

Bug #1294321 reported by vanh souvanlasy
6
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.

Revision history for this message
vanh souvanlasy (vanh-souvanlasy) wrote :

substracted 1 from test condition before allowing use of next byte.

Changed in libecbufr:
importance: Undecided → Low
status: New → Confirmed
assignee: nobody → vanh souvanlasy (vanh-souvanlasy)
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in libecbufr:
milestone: none → 0.8.6
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.