This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: overflow in vprintf()


elleron@yahoo.com writes:

> vfprintf() will apparantly overflow and eventually seg fault
> when provided with long string subsitutions. ie, conversions such as
> "%s" with a string 10k and longer seem to drop core reguarly.

I cannot reproduce this at all.  I've added a test to the glibc test
suite to check the handling of long strings in different locales and
different situations and haven't found any problem.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]