Skip to content
Commit b79932ad authored by Kuba Brecka's avatar Kuba Brecka
Browse files

[asan] Fix the freopen interceptor to allow NULL instead of a filename

According to `man freopen`, passing NULL instead of a filename is valid, however the current implementation of the interceptor assumes this parameter is non-NULL. Let's fix that and add a test case.

Differential Revision: http://reviews.llvm.org/D11389

llvm-svn: 246435
parent f506f414
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment