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 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/ ]