The decoding of some BUFR files generates warnings but it seems that LIBECBUFR doesn't return the flag BUFR_FLAG_INVALID in these cases.

Bug #1374593 reported by Isabelle Provost
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libECBUFR
Fix Committed
High
vanh souvanlasy

Bug Description

Hi,

The decoding of some files (see the example provided) generates warnings but it seems that LIBECBUFR doesn't return the flag BUFR_FLAG_INVALID in these cases.

Warning example:
Warning: NBINC=3 is bigger than (2 bits)

Thanks,
Isabelle

Revision history for this message
Isabelle Provost (isabelle-provost) wrote :
Revision history for this message
vanh souvanlasy (vanh-souvanlasy) wrote :

there seems to be a few places where error encountered while decoding only have warning printed, the error code is not returned.

Changed in libecbufr:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → vanh souvanlasy (vanh-souvanlasy)
status: Confirmed → In Progress
Revision history for this message
vanh souvanlasy (vanh-souvanlasy) wrote :

for compressed messages, when NBINC > NBITS, need to set return code as error

Changed in libecbufr:
status: In Progress → Fix Committed
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.