| delorie.com/archives/browse.cgi | search |
| Sender: | rich AT phekda DOT freeserve DOT co DOT uk |
| Message-ID: | <3DF9BCBF.8EFF6656@phekda.freeserve.co.uk> |
| Date: | Fri, 13 Dec 2002 10:55:59 +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: | <10212130137 DOT AA01762 AT clio DOT rice DOT edu> |
| Reply-To: | djgpp-workers AT delorie DOT com |
Hello. Charles Sandmann wrote: > > Richard Dawe wrote: [snip] > > To be clear: what does Borland C++ 3.0's docs say for scanf and the X type > > conversion? > > Says int - if you want to change size then you must use size adjuster. OK, so X *isn't* a Borland-special. Is it OK to apply the patch for scanf to support 'hh', fix the buffer overflow and make X comply with C99? I think we've beaten this X thing to death now. ;) Thanks, bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |