diff options
author | schweikh <schweikh@FreeBSD.org> | 2003-12-23 15:01:12 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2003-12-23 15:01:12 +0000 |
commit | 0e961ee647d02838c0c3eb117ac007a28f1e49fb (patch) | |
tree | b6aef9e035b2b3a0e75c8ab9f4dd3be6f6a2104c /usr.sbin/ndiscvt/ndiscvt.8 | |
parent | 79e51fd0d791a5f37c83f72a51137221cddd265c (diff) | |
download | FreeBSD-src-0e961ee647d02838c0c3eb117ac007a28f1e49fb.zip FreeBSD-src-0e961ee647d02838c0c3eb117ac007a28f1e49fb.tar.gz |
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.
Okayed by: sobomax
MFC after: 1 week
Diffstat (limited to 'usr.sbin/ndiscvt/ndiscvt.8')
0 files changed, 0 insertions, 0 deletions