freebsd-skq/usr.bin/ar
kaiw 26fa289262 - Do not malloc buffer for 0-size member when reading from archive.
- Fix a malloc buffer overrun: Use a while loop to check whether
  the string buffer is big enough after resizing, since doubling
  once might not be enough when a very long member name or symbol
  name is provided.
- Fix typo.

Reported by:	Michael Plass <mfp49_freebsd@plass-family.net>
Tested by:	Michael Plass <mfp49_freebsd@plass-family.net>
Reviewed by:	jkoshy
Approved by:	jkoshy
2008-03-02 07:01:01 +00:00
..
ar.1 Fix typo. 2008-02-23 14:34:52 +00:00
ar.c Since the program is installed as 'bsdranlib', we need to 2008-02-24 18:07:46 +00:00
ar.h Re-introduce the new BSDLed 'ar' to the build. 2008-02-22 06:47:45 +00:00
Makefile Make again BSD ar(1) the default system ar(1), now properly handling 2008-02-25 16:16:17 +00:00
read.c
util.c
write.c - Do not malloc buffer for 0-size member when reading from archive. 2008-03-02 07:01:01 +00:00