cvs commit: src/usr.sbin/pkg_install/lib match.c

Jens Schweikhardt schweikh at FreeBSD.org
Tue Dec 30 02:21:03 PST 2003


schweikh    2003/12/30 02:21:01 PST

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    usr.sbin/pkg_install/lib match.c 
  Log:
  MFC: Fix a case of undefined behavior due to overlapping buf objects in
  snprintf (buf, size, fmt, buf, etc). This only works by chance with our
  libc, but fails (with a truncated string) on e.g. glibc.
  
  Revision  Changes    Path
  1.2.2.9   +3 -2      src/usr.sbin/pkg_install/lib/match.c


More information about the cvs-src mailing list