diff options
Diffstat (limited to 'src/stdio/vfprintf_s.c')
| -rw-r--r-- | src/stdio/vfprintf_s.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdio/vfprintf_s.c b/src/stdio/vfprintf_s.c index 941b03c0..b11f27e8 100644 --- a/src/stdio/vfprintf_s.c +++ b/src/stdio/vfprintf_s.c @@ -1,11 +1,14 @@ #include <stdio.h> #include <stdarg.h> +#include <string.h> #include "_stdio.h" /** write formatted output to a file stream **/ int vfprintf_s(FILE * restrict stream, const char * restrict format, va_list arg) { SIGNAL_SAFE(0); + ASSERT_NOOVERLAP(stream, sizeof(*stream), format, strlen(format)); + struct io_options opt = { .fnname = __func__, .stream = stream, |
