diff options
Diffstat (limited to 'src/stdio/fwrite.c')
| -rw-r--r-- | src/stdio/fwrite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/fwrite.c b/src/stdio/fwrite.c index 52861b00..ab2e0f04 100644 --- a/src/stdio/fwrite.c +++ b/src/stdio/fwrite.c @@ -7,7 +7,9 @@ size_t fwrite(const void * restrict ptr, size_t size, size_t nmemb, FILE * restr { unsigned char *buf = (unsigned char *)ptr; size_t n = 0; + SIGNAL_SAFE(0); + ASSERT_NOOVERLAP(ptr, size * nmemb, stream, sizeof(*stream)); while (nmemb) { size_t i; |
