diff options
Diffstat (limited to 'test/asan/TestCases/time_interceptor.cpp')
-rw-r--r-- | test/asan/TestCases/time_interceptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/time_interceptor.cpp b/test/asan/TestCases/time_interceptor.cpp index f78af1056..91e056bfc 100644 --- a/test/asan/TestCases/time_interceptor.cpp +++ b/test/asan/TestCases/time_interceptor.cpp @@ -13,7 +13,7 @@ int main() { time_t *tm = (time_t*)malloc(sizeof(time_t)); free(tm); time_t t = time(tm); - printf("Time: %s\n", ctime(&t)); // NOLINT + printf("Time: %s\n", ctime(&t)); // CHECK: use-after-free // Regression check for // https://code.google.com/p/address-sanitizer/issues/detail?id=321 |