Re: [PATCH] gzerror() after gzclose_r() is a use after free

Subject: Re: [PATCH] gzerror() after gzclose_r() is a use after free

Date: Tue, 14 Apr 2020 17:40:02 -0300

To: Olivier Taïbi, notmuch@notmuchmail.org

Cc:

From: David Bremner


Olivier Taïbi <oli@olitb.net> writes:

> As suggested by David Bremner in
> https://notmuchmail.org/pipermail/notmuch/2020/029288.html
> here is a separate patch for bug #2: calling gzerror() (indirectly via
> gzerror_str()) after gzclose_r is a use after free, according to zlib's manual.
>

Looks OK. The commit message could be trimmed, but I can live with the
current version.

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: