aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
AgeCommit message (Collapse)Author
2012-04-28Fix formatting of denormal IBM long double numbersAndreas Schwab
2012-04-02Tighten up vfprintf width, precision, and total length overflow handling.David S. Miller
With help from Paul Eggert, Carlos O'Donell, and Roland McGrath. * stdio-common/printf-parse.h (read_int): Change return type to 'int', return -1 on INT_MAX overflow. * stdio-common/vfprintf.c (vfprintf): Validate width and precision against overflow of INT_MAX. Set errno to EOVERFLOW when 'done' overflows INT_MAX. Check for overflow of in-format-string precision values properly. Use EOVERFLOW rather than ERANGE throughout. Use SIZE_MAX not INT_MAX for integer overflow test. * stdio-common/printf-parsemb.c: If read_int signals an overflow, skip the construct in the format string but do not record anything. * stdio-common/bug22.c: Adjust to test both width/prevision INT_MAX overflow as well as total length INT_MAX overflow. Check explicitly for proper errno values.
2012-03-21Add _ITOA_NEEDED and _ITOA_WORD_TYPEH.J. Lu
Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu
2012-03-10Replace FSF snail mail address with URL in miscellaneous files.Paul Eggert
2012-03-09Install bits/stdio_lim.h in install-headers.Joseph Myers
2012-03-08Clean up tst-fphex testUlrich Drepper
2012-03-08Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper
Conflicts: ChangeLog
2012-03-08Fix up long double fphex testMarek Polacek
2012-03-08Enhance fphex test.Marek Polacek
2012-03-07Remove distribute variable from MakefilesUlrich Drepper
2012-03-06Formatting fixesUlrich Drepper
2012-03-06Fix up long double fphex.Marek Polacek
2012-03-052012-03-02 Kees Cook <keescook@chromium.org>Kees Cook
* stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2012-03-052012-03-02 Kees Cook <keescook@chromium.org>Kees Cook
[BZ #13656] * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and possibly allocate from heap instead of stack. * stdio-common/bug-vfprintf-nargs.c: New file. * stdio-common/Makefile (tests): Add nargs overflow test.
2012-02-27Remove a spurious const in tst-fmemopen.Roland McGrath
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers
2012-01-24Fix gets problemsUlrich Drepper
2012-01-08sscanf always calls reallocPaul Pluzhnikov
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-01Better gets prototype and fallout from removalUlrich Drepper
2011-12-17Fix extension of array in extended printf format handlingUlrich Drepper
2011-10-08isinf returns the sign of the number, use it in printf*Ulrich Drepper
2011-09-10Cleanup of configuration optionsUlrich Drepper
Make several tool features mandatory and simplify the code.
2011-09-09Fix boundary conditions in scanfUlrich Drepper
Allocate large buffers with realloc. When returning error make sure the stream is unlocked.
2011-09-09Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper
Conflicts: ChangeLog
2011-08-20Add test for BZ 13114Ulrich Drepper
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath
2011-05-21Set stream errors in more casesUlrich Drepper
Also avoid unnecessarily setting errno when testing for TTY.
2011-02-20Fix allocation when handling positional parameters in printf.Petr Baudis
2011-02-16Conditionalize use of SIGRTMIN in psiginfo.Samuel Thibault
2011-02-15Fix two printf handler issues.Jakub Jelinek
2011-01-12Fix grouping when rounding increases number of integer digits.Ulrich Drepper
2010-12-24Always allow overwriting printf modifiers etc.Ulrich Drepper
2010-10-11psiginfo relied too much on sys_siglist.Ulrich Drepper
2010-10-11Unify psiginfo output.Ulrich Drepper
2010-04-19tst-fmemopen: Do not write test file in $srcdir.Roland McGrath
2010-03-26Fix printf format warning for si_band.Richard Henderson
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-01-09Add support for XPG7 testing.Ulrich Drepper
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-10-30Avoid warning in scanf test.Ulrich Drepper
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper
2009-09-29Check for integer overflows in formatting functionsAndreas Schwab
2009-08-23Print sign of NaN values.Ulrich Drepper
2009-07-29Preserve SSE registers in runtime relocations on x86-64.Ulrich Drepper
SSE registers are used for passing parameters and must be preserved in runtime relocations. This is inside ld.so enforced through the tests in tst-xmmymm.sh. But the malloc routines used after startup come from libc.so and can be arbitrarily complex. It's overkill to save the SSE registers all the time because of that. These calls are rare. Instead we save them on demand. The new infrastructure put in place in this patch makes this possible and efficient.
2009-05-16remove subsumed .gitignore entries and filesJim Meyering
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering
2009-05-16remove COPYING* from .gitignore filesJim Meyering
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.