diff options
| author | jvoisin | 2023-12-27 17:07:32 +0100 |
|---|---|---|
| committer | Julien Voisin | 2023-12-28 16:13:37 +0100 |
| commit | 22a8094b41b2606084dc0c0c70487e5ed0fcb652 (patch) | |
| tree | f4499d34e006bdc4a762af7f407e87a1080fc3ee /tests/test_strncpy_overwrite_under.c | |
| parent | f3c0bfdb96ec00aaefdb75024059aa33895726c5 (diff) | |
Re-enable previously disabled overlap checks
They were previously disabled in 80a83a5
Diffstat (limited to 'tests/test_strncpy_overwrite_under.c')
| -rw-r--r-- | tests/test_strncpy_overwrite_under.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_strncpy_overwrite_under.c b/tests/test_strncpy_overwrite_under.c index 8a0a4af..f554b28 100644 --- a/tests/test_strncpy_overwrite_under.c +++ b/tests/test_strncpy_overwrite_under.c | |||
| @@ -3,7 +3,6 @@ | |||
| 3 | #include <string.h> | 3 | #include <string.h> |
| 4 | 4 | ||
| 5 | int main(int argc, char** argv) { | 5 | int main(int argc, char** argv) { |
| 6 | #if 0 | ||
| 7 | char buffer[9] = {'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', '\0'}; | 6 | char buffer[9] = {'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', '\0'}; |
| 8 | puts(buffer); | 7 | puts(buffer); |
| 9 | 8 | ||
| @@ -12,6 +11,5 @@ int main(int argc, char** argv) { | |||
| 12 | CHK_FAIL_END | 11 | CHK_FAIL_END |
| 13 | 12 | ||
| 14 | puts(buffer); | 13 | puts(buffer); |
| 15 | #endif | ||
| 16 | return ret; | 14 | return ret; |
| 17 | } | 15 | } |
