This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=889848ed58a6c496ab130647cce8dd0bcd53aaaf commit 889848ed58a6c496ab130647cce8dd0bcd53aaaf Author: Guillem Jover <guil...@debian.org> AuthorDate: Tue Aug 18 01:27:39 2020 +0200 libdpkg: Reset error context errmsg after free() This makes sure we are never going to doubly free it. Warned-by: gcc ASAN Stable-Candidate: 1.19.x --- lib/dpkg/ehandle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dpkg/ehandle.c b/lib/dpkg/ehandle.c index bfa220908..be95c3642 100644 --- a/lib/dpkg/ehandle.c +++ b/lib/dpkg/ehandle.c @@ -173,6 +173,7 @@ error_context_errmsg_free(struct error_context *ec) { if (ec->errmsg != emergency.errmsg) free(ec->errmsg); + ec->errmsg = NULL; } static void -- Dpkg.Org's dpkg