[all-commits] [llvm/llvm-project] 816b5e: [libc] remove use after free in tests.

michaelrj-google via All-commits all-commits at lists.llvm.org
Mon Dec 12 13:23:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 816b5e546c6553afd463f9630b248a17702700c9
      https://github.com/llvm/llvm-project/commit/816b5e546c6553afd463f9630b248a17702700c9
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M libc/test/src/stdio/fileop_test.cpp
    M libc/test/src/stdio/ftell_test.cpp

  Log Message:
  -----------
  [libc] remove use after free in tests.

There were some tests added that attempted to access files after they
were closed to test errno behavior, this caused sanitizer issues. Those
portions of the tests have been disabled.

Differential Revision: https://reviews.llvm.org/D139878




More information about the All-commits mailing list