List Archive


Thread Index


From: Andreas Falkenhahn <>
To: libzip mailing list <>
Subject: Libzip leaks
Date: Thu, 9 Nov 2017 17:42:00 +0100

I've just noticed that if the call to zip_source_commit_write() in zip_close.c
fails for whatever reason, the zip source callback's ZIP_SOURCE_FREE command
is never invoked which can cause potential leaks. Should be fixed so that the
source can cleanup no matter if committing succeeded or not.

Best regards,
 Andreas Falkenhahn                 

Made by MHonArc.