Deutsch English Français Italiano |
<utfdte$1lou1$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c Subject: Re: A Famous Security Bug Date: Wed, 20 Mar 2024 12:37:17 -0700 Organization: A noiseless patient Spider Lines: 13 Message-ID: <utfdte$1lou1$1@dont-email.me> References: <bug-20240320191736@ram.dialup.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 20 Mar 2024 19:37:18 -0000 (UTC) Injection-Info: dont-email.me; posting-host="52d051050d0f5afbf153f83776a931b4"; logging-data="1762241"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eK/+8Dv4XlPd5Fbf9mN7xc4z03OVxtd4=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Ni2quesqp+bfx2ePhhSaGTDkHvU= Content-Language: en-US In-Reply-To: <bug-20240320191736@ram.dialup.fu-berlin.de> Bytes: 1338 On 3/20/2024 11:18 AM, Stefan Ram wrote: > A "famous security bug": > > void f( void ) > { char buffer[ MAX ]; > /* . . . */ > memset( buffer, 0, sizeof( buffer )); } > > . Can you see what the bug is? > > (I have already read the answer; I post it as a pastime.) Add in a volatile? ;^)