delorie.com/archives/browse.cgi | search |
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 <rich AT phekda DOT freeserve DOT co DOT uk> |
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> |
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/ ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |