Ticket #749 (closed cage: fixed)
[CAGE] factor Packfile_unpack into validation and unpacking functions
|Reported by:||cotto||Owned by:||whiteknight|
Packfile_unpack has some code that could be put to use in the thawing portion of ft_init in src/pmc_freeze.c. It would be nice if Packfile_unpack could be factored into two separate functions; one to validate a packfile and one to do the actual unpacking. That would allow ft_init to reuse the validation code, adding some more sanity checks to PMC thawing.