diff options
author | gordon <gordon@FreeBSD.org> | 2018-03-07 06:04:25 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2018-03-07 06:04:25 +0000 |
commit | c69c8ae8053b66933da68a1f410f78dda1300dd7 (patch) | |
tree | 112e12ebf327447d4aa0325a38185a75f10947c9 /contrib/file/src/vasprintf.c | |
parent | f759173fe55c14d92140754fc86200fc2b101b06 (diff) | |
download | FreeBSD-src-c69c8ae8053b66933da68a1f410f78dda1300dd7.zip FreeBSD-src-c69c8ae8053b66933da68a1f410f78dda1300dd7.tar.gz |
Update file(1) to new version with security update. [EN-18:02.file]
Approved by: so
Security: FreeBSD-EN-18:02.file
Security: CVE-2017-1000249
Diffstat (limited to 'contrib/file/src/vasprintf.c')
-rw-r--r-- | contrib/file/src/vasprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/file/src/vasprintf.c b/contrib/file/src/vasprintf.c index 7a18bed..ad1d316 100644 --- a/contrib/file/src/vasprintf.c +++ b/contrib/file/src/vasprintf.c @@ -88,7 +88,7 @@ type: d i o u x X f e g E G c s p n The function needs to allocate memory to store the full text before to -actually writting it. i.e if you want to fnprintf() 1000 characters, the +actually writing it. i.e if you want to fnprintf() 1000 characters, the functions will allocate 1000 bytes. This behaviour can be modified: you have to customise the code to flush the internal buffer (writing to screen or file) when it reach a given size. Then @@ -108,7 +108,7 @@ you use strange formats. #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: vasprintf.c,v 1.13 2014/12/04 15:56:46 christos Exp $") +FILE_RCSID("@(#)$File: vasprintf.c,v 1.14 2017/08/13 00:21:47 christos Exp $") #endif /* lint */ #include <assert.h> |