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

[ Available lists | Index of cvs-src | Month of Dec 2003 | Week of 30 Dec 2003 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Jens Schweikhardt <schweikh@FreeBSD.org>
Date
30 Dec 2003 02:21:03
Subject
cvs commit: src/usr.sbin/pkg_install/lib match.c
Message-ID
200312301021.hBUAL10w093868@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.062 seconds