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

Alexander Potapenko glider at google.com
Tue Jul 21 09:00:58 PDT 2015


When built with -m32 and without ASan, this testcase does not crash for me.
Trying to reproduce with ASan.

On Tue, Jul 21, 2015 at 5:35 PM, Kuba Brecka <kuba.brecka at gmail.com> wrote:
> kubabrecka added a comment.
>
> Hm, the Linux buildbot didn't like this change: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/19256/steps/check-asan%20in%20gcc%20build/logs/stdio
>
> Interestingly, only the i386 variant failed.  Could it be that that system's libc really doesn't support NULL for `freopen`?  Alexander, could you help me out here?  I reverted the patch until we figure this out.
>
> Thanks!
>
>
> Repository:
>   rL LLVM
>
> http://reviews.llvm.org/D11389
>
>
>



-- 
Alexander Potapenko
Software Engineer

Google Germany GmbH
Dienerstra├če 12
80331 M├╝nchen




More information about the llvm-commits mailing list