Pathological compression crashes decoder

Bug #790910 reported by Yves Pelletier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libECBUFR
Fix Committed
Medium
Unassigned

Bug Description

A user has come across a BUFR message where compression was executed incorrectly such that NBINC > NBITS. That is, the effective bitwidth for a descriptor with compression "on" is greater than the default bitwidth for the descriptor (as specified in Table B). Besides obviously defeating the purpose of compression, this crashes the decoder.

Changed in libecbufr:
importance: Undecided → Low
status: New → Triaged
importance: Low → Medium
Revision history for this message
vanh souvanlasy (vanh-souvanlasy) wrote :

Fix is committed to trunk rev. 189 and also into branch 0.8.2
For now, we simply allow NBINC to be of any size, even greater than bitwidth.

Changed in libecbufr:
status: Triaged → Fix Committed
milestone: none → 0.8.2rc2
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.