aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
AgeCommit message (Collapse)AuthorFilesLines
2012-05-17Bump up stdio bug22 timeout from 30 seconds to 60 secondsChris Metcalf1-1/+1
The older Tilera platform (tilepro) needs just a hair over 30 seconds to run this on one core.
2012-04-28Fix formatting of denormal IBM long double numbersAndreas Schwab2-1/+91
2012-04-02Tighten up vfprintf width, precision, and total length overflow handling.David S. Miller4-39/+131
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. Lu2-2/+9
Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu5-98/+6
2012-03-10Replace FSF snail mail address with URL in miscellaneous files.Paul Eggert1-3/+2
2012-03-09Install bits/stdio_lim.h in install-headers.Joseph Myers1-6/+1
2012-03-08Clean up tst-fphex testUlrich Drepper2-23/+14
2012-03-08Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper3-19/+73
Conflicts: ChangeLog
2012-03-08Fix up long double fphex testMarek Polacek1-7/+22
2012-03-08Enhance fphex test.Marek Polacek3-19/+73
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-3/+1
2012-03-06Formatting fixesUlrich Drepper1-13/+13
2012-03-06Fix up long double fphex.Marek Polacek2-1/+39
2012-03-052012-03-02 Kees Cook <keescook@chromium.org>Kees Cook1-3/+7
* stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2012-03-052012-03-02 Kees Cook <keescook@chromium.org>Kees Cook3-10/+118
[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 McGrath1-1/+1
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert80-240/+160
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers1-2/+0
2012-01-24Fix gets problemsUlrich Drepper1-5/+1
2012-01-08sscanf always calls reallocPaul Pluzhnikov1-2/+2
2012-01-07Remove pre-ISO C supportUlrich Drepper1-10/+10
No more __const.
2012-01-01Better gets prototype and fallout from removalUlrich Drepper1-1/+6
2011-12-17Fix extension of array in extended printf format handlingUlrich Drepper1-7/+6
2011-10-08isinf returns the sign of the number, use it in printf*Ulrich Drepper3-23/+27
2011-09-10Cleanup of configuration optionsUlrich Drepper2-22/+14
Make several tool features mandatory and simplify the code.
2011-09-09Fix boundary conditions in scanfUlrich Drepper1-27/+97
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 Drepper1-5/+5
Conflicts: ChangeLog
2011-08-20Add test for BZ 13114Ulrich Drepper2-1/+27
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath1-2/+0
2011-05-21Set stream errors in more casesUlrich Drepper2-1/+7
Also avoid unnecessarily setting errno when testing for TTY.
2011-02-20Fix allocation when handling positional parameters in printf.Petr Baudis3-3/+25
2011-02-16Conditionalize use of SIGRTMIN in psiginfo.Samuel Thibault1-1/+6
2011-02-15Fix two printf handler issues.Jakub Jelinek2-7/+13
2011-01-12Fix grouping when rounding increases number of integer digits.Ulrich Drepper3-9/+102
2010-12-24Always allow overwriting printf modifiers etc.Ulrich Drepper1-7/+13
2010-10-11psiginfo relied too much on sys_siglist.Ulrich Drepper1-2/+21
2010-10-11Unify psiginfo output.Ulrich Drepper1-5/+6
2010-04-19tst-fmemopen: Do not write test file in $srcdir.Roland McGrath1-6/+12
2010-03-26Fix printf format warning for si_band.Richard Henderson1-1/+1
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-01-09Add support for XPG7 testing.Ulrich Drepper1-11/+11
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 Drepper1-1/+0
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper5-10/+11
2009-09-29Check for integer overflows in formatting functionsAndreas Schwab2-20/+40
2009-08-23Print sign of NaN values.Ulrich Drepper3-23/+122
2009-07-29Preserve SSE registers in runtime relocations on x86-64.Ulrich Drepper2-0/+2
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 Meyering1-8/+0
2009-05-16remove mpn-copy.mk from .gitignore filesJim Meyering1-1/+1
2009-05-16remove COPYING* from .gitignore filesJim Meyering1-1/+1
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0