setting LC_ALL=en_US may cause cause decoder to crash

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

Bug Description

Messages containing some special characters in header string may crash the decoder if when env. var. LC_ALL=en_US is set. Or the -dump is used with bufr_decoder which set this internally.

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

char need to be casted to unsigned char before conversion to octal, otherwise would cause overflow in string. Fix has been committed to trunk in revision 339

Changed in libecbufr:
status: Confirmed → Fix Committed
Changed in libecbufr:
milestone: none → 0.9.1
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.