diff options
Diffstat (limited to 'src/stdio/vfscanf.c')
| -rw-r--r-- | src/stdio/vfscanf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdio/vfscanf.c b/src/stdio/vfscanf.c index 0df43d92..af0dc289 100644 --- a/src/stdio/vfscanf.c +++ b/src/stdio/vfscanf.c @@ -1,9 +1,12 @@ #include <stdio.h> +#include <string.h> #include "_stdio.h" int vfscanf(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, |
