xoreos / xoreos-tools

Tools to help the development of xoreos
https://xoreos.org/
GNU General Public License v3.0
66 stars 28 forks source link

ERF: Recursion leads to infinite loop #65

Closed lachjames closed 4 years ago

lachjames commented 4 years ago

Hi :)

When packing an ERF file into itself (e.g. with "erf --mod output.mod files ... output.mod"), it seems an infinite loop is triggered which is only exited when the 4GB file size limit is reached. This issue might exist in the other archive tools as well but I have observed it for ERF at least.

DrMcCoy commented 4 years ago

Fixed, thanks for reporting!