Menu

#297 infinite loop inside GBitmap::read_rle_raw

djview
closed
nobody
None
5
2019-03-27
2019-03-25
Hongxu Chen
No

As of git commit b9ef2a1, djvulibre has an infinit loop inside GBitmap::read_rle_raw. For example, c=0, x=0 and h=0, the condition at line 905 will never be satisfied and n will not be updated, causing the condition n >= 0 to always hold.

This may be triggered by running cjb2 h01.txt /dev/null

1 Attachments

Discussion

  • Leon Bottou

    Leon Bottou - 2019-03-27
    • status: open --> closed
     
  • Leon Bottou

    Leon Bottou - 2019-03-27

    Fixed

     

Log in to post a comment.