cvs commit: src/contrib/cpio/lib argp.h

Tim J. Robbins tjr at FreeBSD.org
Mon Oct 17 05:20:06 PDT 2005


tjr         2005-10-17 12:20:05 UTC

  FreeBSD src repository

  Modified files:
    contrib/cpio/lib     argp.h 
  Log:
  In __option_is_short(), avoid calling isprint() on key characters outside
  the range allowed by that function, resulting in undefined behaviour.
  Our undefined behaviour in multibyte locales happened to differ from
  glibc's, resulting in errors parsing option strings.
  
  Obtained from:  Corinna Vinschen (Red Hat)
  
  Revision  Changes    Path
  1.2       +3 -1      src/contrib/cpio/lib/argp.h


More information about the cvs-src mailing list