kaiw        2008-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 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 <[EMAIL PROTECTED]>
  Tested by:      Michael Plass <[EMAIL PROTECTED]>
  Reviewed by:    jkoshy
  Approved by:    jkoshy
  
  Revision  Changes    Path
  1.4       +17 -11    src/usr.bin/ar/write.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to