Re: [PATCH] main.c: obviously initialize smark

Herbert Xu <[email protected]> Wed, 28 Jan 2026 12:51:45 +0800
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
Fabian Rast <[email protected]> wrote:
> [-- text/plain, encoding quoted-printable, charset: UTF-8, 73 lines --]
> 
> Otherwise an optimizing compiler (with LTO) might conclude that an
> undefined value is used in the popstackmark call in the setjmp handler,
> causing undefined behavior.
> ---
> src/main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks for the patch.  But I think this is really a compiler bug.
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt