From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7249 invoked from network); 20 Jan 2021 17:51:43 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 20 Jan 2021 17:51:43 -0000 Received: (qmail 20164 invoked by uid 550); 20 Jan 2021 17:51:40 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 20137 invoked from network); 20 Jan 2021 17:51:39 -0000 Date: Wed, 20 Jan 2021 12:51:25 -0500 From: Rich Felker To: Yuriy Chernyshov Cc: musl@lists.openwall.com Message-ID: <20210120175124.GL23432@brightrain.aerifal.cx> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [musl] Re: Typo in atexit.c (?) On Wed, Jan 20, 2021 at 06:45:23PM +0300, Yuriy Chernyshov wrote: > As I see, this turned out to be a combination of a local patch applied to > atexit.c. > > The patch introduces cleanup of additionally allocated fl chunks allocated > by calloc calls in __cxa_atexit. > I think I can upstream the patch upon a brief adaptation to match the > styleguide. > > What do you think? I'm not sure what this patch is for, but no it cannot be upstreamed. It would make all programs using atexit link free. The use of malloc without free is very intentional. Rich