diff options
Diffstat (limited to 'src/testcurl/test_toolarge.c')
-rw-r--r-- | src/testcurl/test_toolarge.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testcurl/test_toolarge.c b/src/testcurl/test_toolarge.c index 70b37ff9..4294010a 100644 --- a/src/testcurl/test_toolarge.c +++ b/src/testcurl/test_toolarge.c | |||
@@ -193,8 +193,14 @@ _mhdErrorExit_func (const char *errDesc, const char *funcName, int lineNum) | |||
193 | 193 | ||
194 | #define BUFFER_SIZE 1024 | 194 | #define BUFFER_SIZE 1024 |
195 | 195 | ||
196 | #define MHD_ASAN_ACTIVE 1 | ||
197 | |||
196 | /* The size of the test element that must pass the test */ | 198 | /* The size of the test element that must pass the test */ |
199 | #ifndef MHD_ASAN_POISON_ACTIVE | ||
197 | #define TEST_OK_SIZE (BUFFER_SIZE - 384) | 200 | #define TEST_OK_SIZE (BUFFER_SIZE - 384) |
201 | #else /* MHD_ASAN_POISON_ACTIVE */ | ||
202 | #define TEST_OK_SIZE (BUFFER_SIZE - 384 - 80) | ||
203 | #endif /* MHD_ASAN_POISON_ACTIVE */ | ||
198 | 204 | ||
199 | /* The size of the test element where tests are started */ | 205 | /* The size of the test element where tests are started */ |
200 | #define TEST_START_SIZE (TEST_OK_SIZE - 16) | 206 | #define TEST_START_SIZE (TEST_OK_SIZE - 16) |