On Fri, 25 Feb 2005, Horst von Brand wrote:
> Brian Gerst <[EMAIL PROTECTED]> said:
> > Horst von Brand wrote:
> > > Brian Gerst <[EMAIL PROTECTED]> said:
> > >
> > >>- Make sprintf call vsnprintf directly
> > >>- use INT_MAX for sprintf and vsprintf
>
> > > This is the size limit on what is writ
Brian Gerst <[EMAIL PROTECTED]> said:
> Horst von Brand wrote:
> > Brian Gerst <[EMAIL PROTECTED]> said:
> >
> >>- Make sprintf call vsnprintf directly
> >>- use INT_MAX for sprintf and vsprintf
> > This is the size limit on what is written. 4GiB sounds a bit extreme...
> Sprintf has no limit, w
On Fri, 2005-02-25 at 07:28 -0500, Brian Gerst wrote:
> Horst von Brand wrote:
> > Brian Gerst <[EMAIL PROTECTED]> said:
> >
> >>- Make sprintf call vsnprintf directly
> >>- use INT_MAX for sprintf and vsprintf
> >
> >
> > This is the size limit on what is written. 4GiB sounds a bit extreme...
>
Horst von Brand wrote:
Brian Gerst <[EMAIL PROTECTED]> said:
- Make sprintf call vsnprintf directly
- use INT_MAX for sprintf and vsprintf
This is the size limit on what is written. 4GiB sounds a bit extreme...
Sprintf has no limit, which is why it's generally bad to use it. I just
replaced an o
Brian Gerst <[EMAIL PROTECTED]> said:
> - Make sprintf call vsnprintf directly
> - use INT_MAX for sprintf and vsprintf
This is the size limit on what is written. 4GiB sounds a bit extreme...
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica
- Make sprintf call vsnprintf directly
- use INT_MAX for sprintf and vsprintf
Signed-off-by: Brian Gerst <[EMAIL PROTECTED]>
vsprintf.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -urN linux-2.6.11-rc5/lib/vsprintf.c linux/lib/vsprintf.c
--- linux-2.6.11-rc5/lib/vsprintf.c
6 matches
Mail list logo