From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EB88C433EF for ; Tue, 26 Oct 2021 17:43:47 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9102260C51 for ; Tue, 26 Oct 2021 17:43:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9102260C51 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=korsgaard.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3DB82402D7; Tue, 26 Oct 2021 17:43:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CkBC5xMsCCR4; Tue, 26 Oct 2021 17:43:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id BD15D401F1; Tue, 26 Oct 2021 17:43:44 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 6E8B91BF84C for ; Tue, 26 Oct 2021 17:43:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 5D72A401F1 for ; Tue, 26 Oct 2021 17:43:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cKR4TUXf4ywU for ; Tue, 26 Oct 2021 17:43:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by smtp4.osuosl.org (Postfix) with ESMTPS id 99281401DF for ; Tue, 26 Oct 2021 17:43:41 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 6E35FC0005; Tue, 26 Oct 2021 17:43:38 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.92) (envelope-from ) id 1mfQU5-0004jd-Hi; Tue, 26 Oct 2021 19:43:37 +0200 From: Peter Korsgaard To: Matthew Weber via buildroot References: <20211014153325.56107-1-matthew.weber@collins.com> Date: Tue, 26 Oct 2021 19:43:37 +0200 In-Reply-To: <20211014153325.56107-1-matthew.weber@collins.com> (Matthew Weber via buildroot's message of "Thu, 14 Oct 2021 10:33:25 -0500") Message-ID: <87fssnu1fa.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH] package/xerces: fix memory leak when transcoding fails X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matthew Weber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Matthew" == Matthew Weber via buildroot writes: > Seen with the IconvGNU transcoder when parsing " The reason is that XMLString::transcode(repText2, manager) throws a TranscodingException > which causes the tmp1 string to leak. > Upstream: https://github.com/apache/xerces-c/commit/1bdf6d8ba878c1fe1d779824be70001fc0bebd2c > Signed-off-by: Matthew Weber > --- > This is applicable to LTS as well. Committed to 2021.02.x and 2021.08.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot