[libc-commits] [PATCH] D139878: [libc] remove use after free in tests.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Dec 12 13:32:42 PST 2022


sivachandra added inline comments.


================
Comment at: libc/test/src/stdio/fileop_test.cpp:128
+  //           static_cast<FILE *>(nullptr));
+  // EXPECT_NE(errno, 0);
 }
----------------
Looks like these were added in https://reviews.llvm.org/D139576. If there are incorrect, they should be removed. If they are correct and the fix is expected to land separately, then please file a bug explaining the expected behavior in detail and add a `TODO` here which links to that bug.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139878/new/

https://reviews.llvm.org/D139878



More information about the libc-commits mailing list