List Archive

Thread

Thread Index

Message

From: Andreas Falkenhahn <andreas%falkenhahn.com@localhost>
To: libzip mailing list <libzip-discuss%nih.at@localhost>
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                          
mailto:andreas%falkenhahn.com@localhost

Made by MHonArc.