diff options
author | jkh <jkh@FreeBSD.org> | 2001-10-26 08:25:32 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2001-10-26 08:25:32 +0000 |
commit | 421d7605490a133330f7ae6e0834b0d11f806feb (patch) | |
tree | 55bce1d8c5a031ceda152956b01e050aa0ae152b /contrib | |
parent | 46e3f92a5d9268f6cd24fb05657ca80cc78f3aa4 (diff) | |
download | FreeBSD-src-421d7605490a133330f7ae6e0834b0d11f806feb.zip FreeBSD-src-421d7605490a133330f7ae6e0834b0d11f806feb.tar.gz |
Close buffer overflow noted in security advisory DSA-085.
Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org>
Obtained from: Debian
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/nvi/common/exf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/nvi/common/exf.c b/contrib/nvi/common/exf.c index 8c4dea5..e332f470 100644 --- a/contrib/nvi/common/exf.c +++ b/contrib/nvi/common/exf.c @@ -1004,7 +1004,7 @@ success_open: *--s = '.'; } } - msgq(sp, M_INFO, s); + msgq(sp, M_INFO, "%s", s); if (nf) FREE_SPACE(sp, p, 0); return (0); |