provide missing prototypesthis may actually result in bogus error messages, because int != char*okay jca@
Make libiberty test programs compile and run without segfault.
On xmalloc failure, stop trying to determine the total amount of allocatedmemory up to this point by using sbrk(2). This is of course wildly incorrectfor any mmap-based malloc(3).This also makes
On xmalloc failure, stop trying to determine the total amount of allocatedmemory up to this point by using sbrk(2). This is of course wildly incorrectfor any mmap-based malloc(3).This also makes it possible to bring pledge(2) to gnu/.comments kettenis@, ok miod@
show more ...
Fix CVE-2012-3509, an integer overflow in libiberty, leading toheap-buffer overflow.From Sebastian Trahm; OK deraadt@
Prefer strdup() to malloc() + strcpy() and ftello() to ftell()ok deraadt@ guenther@ millert@
Finally ``revert'' to the recent pexecute interface, now that we do not needto support gcc 2.95. Tested on gcc 3 and gcc 4 platforms, riding on themajor bump.
Now that gcc 2.95 is out of the tree, get rid of the old hash table interfaceit was the only user of. Bump major.
make gcc4 lib sprintf/strcpy free.activate proper C99 stuff.fix locale support when there's no locale.work common with kettenis@
Add fopen_unlocked.c pex-unix.c pex-common.c unlink-if-ordinary.c tothe list of built files and switch the md5.h header to the libibertyone. This change is needed by gcc4 and it is a major library
Add fopen_unlocked.c pex-unix.c pex-common.c unlink-if-ordinary.c tothe list of built files and switch the md5.h header to the libibertyone. This change is needed by gcc4 and it is a major library crank forlibiberty.tested by many people on many architectures and finally ok'd by deraadt@
Put back sprintf -> snprintf changes which have been lost accidentally in thelast update.
Put back the diff made between rev. 1.1.1.3 and 1.3ok miod@
Merge OpenBSD specific changes:- pexecute implementation replaced with the older gcc 2.95 implementation, as gcc 2.95's collect2 relies upon an implementation behaviour which has been lost in fu
Merge OpenBSD specific changes:- pexecute implementation replaced with the older gcc 2.95 implementation, as gcc 2.95's collect2 relies upon an implementation behaviour which has been lost in further libiberty updates.- keep the old hash table interfaces, which are used by gcc 2.95.- keep the OpenBSD replacement for the md5 interface.- keep the OpenBSD strl{cat,cpy} and snprinft usage.Bump libiberty minor version due to the addition of a few new symbols.
Update libiberty to the version found in binutils 2.17.1 (which stillidentifies itself as the gcc 3 version...)
strcpy->strlcpy, needed by libstdc++ actually.
use snprintf. okay deraadt@
fix up conflicts
update to gcc 3.3.5
Update floatformat.[ch] to gdb-6.1 version. Include regex.c in library.ok otto@, pval@
missing prototypes; ok espie
resurrect pexecute.c for now, since vax and m68k barf on pex-unix.c
bye-bye. Merge should basically be finished
typo in demangler
Automatic merge
Update to libiberty from binutils-2.14
`merge' old hashtab interface and new, since those are disjoint.
12