[all-commits] [llvm/llvm-project] a4232d: [rtsan][tsan] Fix va_args handling in open functio...

Chris Apple via All-commits all-commits at lists.llvm.org
Mon Sep 23 06:55:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4232dc676908548afa36d4f4ad740131ce385e2
      https://github.com/llvm/llvm-project/commit/a4232dc676908548afa36d4f4ad740131ce385e2
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M compiler-rt/lib/rtsan/rtsan_interceptors.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_posix.h
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp

  Log Message:
  -----------
  [rtsan][tsan] Fix va_args handling in open functions (#108291)

Check oflag to see if it contains O_CREAT / O_TMPFILE before unpacking parameters to avoid UB



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list