Open vsouvan opened 4 years ago
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.
Imported from Launchpad using lp2gh.
(by vanh-souvanlasy) substracted 1 from test condition before allowing use of next byte.
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.
Imported from Launchpad using lp2gh.