diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 16:06:55 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 16:06:55 -0500 |
| commit | 2e962793b28baca1dc9980d91b7d9791b2aaa198 (patch) | |
| tree | 7d39ea846f0d966ce4e2fbee9f1827cbf3ce30a9 /src/wchar/wcsncpy.c | |
| parent | 178bc0e627d6fa3be9d18d40ba8828604ce71134 (diff) | |
update safety checks
Diffstat (limited to 'src/wchar/wcsncpy.c')
| -rw-r--r-- | src/wchar/wcsncpy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wchar/wcsncpy.c b/src/wchar/wcsncpy.c index 4a33779a..2c595575 100644 --- a/src/wchar/wcsncpy.c +++ b/src/wchar/wcsncpy.c @@ -4,6 +4,8 @@ wchar_t * wcsncpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n) { + SIGNAL_SAFE(0); + size_t i; int nul = 0; for (i = 0; i < n; i++) { |
