From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2.elektronenpumpe.de (unknown [IPv6:2a01:7e0:0:405::19b0]) by sourceware.org (Postfix) with ESMTPS id 231F73858035 for ; Wed, 15 Feb 2023 17:14:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 231F73858035 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=elektronenpumpe.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=elektronenpumpe.de Received: from [127.0.0.1] (84-115-225-51.cable.dynamic.surfer.at [84.115.225.51]) by elektronenpumpe.de (Postfix) with ESMTPSA id 06CD6320006; Wed, 15 Feb 2023 18:14:29 +0100 (CET) Date: Wed, 15 Feb 2023 18:14:25 +0100 From: Bernhard Krug To: Richard Earnshaw , newlib@sourceware.org Subject: Re: [PATCH] libc: arm: setjmp jmp_buf exagerated size In-Reply-To: References: <7074AE0F-4BFC-48B4-AE8B-DCCA22D0105E@elektronenpumpe.de> Message-ID: <90ED6369-550C-40BA-ACCF-E90F7787258B@elektronenpumpe.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,KAM_LINKBAIT,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On February 15, 2023 6:01:05 PM GMT+01:00, Richard Earnshaw wrote: > >But you can build your source file with a jmp_buf in it, and if you then = end up linking it against a version of the library that expects a larger bu= ffer it will end up corrupting data=2E > You are right=2E I didn't consider this in my MCU project yet :D Thank you=2E