[all-commits] [llvm/llvm-project] 10f29a: [MSan] Fix wrong unpoison size in SignalAction (#1...

Kunqiu Chen via All-commits all-commits at lists.llvm.org
Tue Jun 17 23:53:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10f29a607205c0c17ee9249a66feb63f0fdae182
      https://github.com/llvm/llvm-project/commit/10f29a607205c0c17ee9249a66feb63f0fdae182
  Author: Kunqiu Chen <camsyn at foxmail.com>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

  Changed paths:
    M compiler-rt/lib/msan/msan_interceptors.cpp

  Log Message:
  -----------
  [MSan] Fix wrong unpoison size in SignalAction (#144071)

MSan should unpoison the parameters of extended signal handlers. 
However, MSan unpoisoned the second parameter with the wrong size 
`sizeof(__sanitizer_sigaction)`, inconsistent with its real type 
`siginfo_t`.

This commit fixes this issue by correcting the size to 
`sizeof(__sanitizer_siginfo)`.



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