GNOME Bugzilla – Bug 791505
critical when parsing a directory read from a rar archive through lsar
Last modified: 2017-12-12 12:01:50 UTC
When scanning an archive via lsar and encountering a directory, file-roller outputs a json-related critical. It is trying to read a size from all entries returned by lsar, including directories which do not have a XADFileSize member.
Created attachment 365405 [details] [review] Proposed patch An alternative to this patch would be to read the size only for entries that are not directories.
Patch applied to both master and gnome-3-26, thank you.