Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3DF8776C.A77EDFE3@phekda.freeserve.co.uk> Date: Thu, 12 Dec 2002 11:47:56 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: scanf buffer overflow; support 'hh' conversion specifier [PATCH] References: <200212121119 DOT MAA24949 AT lws256 DOT lu DOT erisoft DOT se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Martin Stromberg wrote: [snip] > It's not in C89 for *scanf(). But it's there for *printf(). We _are_ > talking about *scanf(), right (buffer overflow)? [snip] Yes. So: C89: No X exists => X can be a Borland-compatible thing. C99: X exists and should behave like x => X must comply with the C99 standard, not be Borland-compatible (unless it's the same). Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]