Skip to content
Commit 499cd202 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

comics: Fix decoding some files in RAR archives

The unarr RAR decoder doesn't like it when we request more data than is
available:
! rar.c:169: Requesting too much data (3563 < 10240)

Clamp the size of the read request to the data left to read.

https://bugzilla.gnome.org/show_bug.cgi?id=784842
parent 92e98f6e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment