diff options
Diffstat (limited to '')
| -rw-r--r-- | src/regress/lib/libc/strlcpy/strlcpytest.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regress/lib/libc/strlcpy/strlcpytest.c b/src/regress/lib/libc/strlcpy/strlcpytest.c index e2151aea74..8f1d12dbce 100644 --- a/src/regress/lib/libc/strlcpy/strlcpytest.c +++ b/src/regress/lib/libc/strlcpy/strlcpytest.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: strlcpytest.c,v 1.3 2019/01/25 00:19:26 millert Exp $ */ | 1 | /* $OpenBSD: strlcpytest.c,v 1.4 2021/09/01 09:26:32 jasper Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 2014 Todd C. Miller <millert@openbsd.org> | 4 | * Copyright (c) 2014 Todd C. Miller <millert@openbsd.org> |
| @@ -43,9 +43,6 @@ main(int argc, char *argv[]) | |||
| 43 | size_t len, bufsize; | 43 | size_t len, bufsize; |
| 44 | int failures = 0; | 44 | int failures = 0; |
| 45 | 45 | ||
| 46 | /* Enable malloc security options. */ | ||
| 47 | setenv("MALLOC_OPTIONS", "S", 0); | ||
| 48 | |||
| 49 | bufsize = getpagesize(); /* trigger guard pages easily */ | 46 | bufsize = getpagesize(); /* trigger guard pages easily */ |
| 50 | buf = malloc(bufsize); | 47 | buf = malloc(bufsize); |
| 51 | buf2 = malloc(bufsize); | 48 | buf2 = malloc(bufsize); |
