Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 02:21:01 -0800 (PST)
From:      Jens Schweikhardt <schweikh@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/pkg_install/lib match.c
Message-ID:  <200312301021.hBUAL10w093868@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312301021.hBUAL10w093868>