Skip to content
Commit 4c0cdec1 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: 242787
parent 33e746f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment