cvs commit: src/usr.bin/ar write.c

2008-03-01 Thread Kai Wang
kaiw2008-03-02 07:01:01 UTC FreeBSD src repository Modified files: usr.bin/ar write.c Log: - 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 afte

cvs commit: src/usr.bin/ar write.c

2008-02-24 Thread Kai Wang
kaiw2008-02-24 18:30:18 UTC FreeBSD src repository Modified files: usr.bin/ar write.c Log: style(9) whitespace fix: A space is mandated after keyword 'return'. Submitted by: jkoshy Approved by:jkoshy (mentor) Revision ChangesPath 1.3

cvs commit: src/usr.bin/ar write.c

2008-02-24 Thread Kai Wang
kaiw2008-02-24 17:57:29 UTC FreeBSD src repository Modified files: usr.bin/ar write.c Log: Handle properly when insert zero size objects into the archive: Do not mmap 0-size objects and do not try to extract symbol from 0-size objects, but do treat 0-size object