[all-commits] [llvm/llvm-project] c4a89f: [flang][OpenMP] Fix use-after-free in OMPFunctionF...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Fri Mar 8 07:16:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4a89f1538bbcac19628570b6b489cd9ce4265e2
      https://github.com/llvm/llvm-project/commit/c4a89f1538bbcac19628570b6b489cd9ce4265e2
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-03-08 (Fri, 08 Mar 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/OMPFunctionFiltering.cpp

  Log Message:
  -----------
  [flang][OpenMP] Fix use-after-free in OMPFunctionFiltering (#84373)

When walking over functions (in pre-order), if the function being
visited needs to be erased, skip visiting its regions.

This was detected by address sanitizer.



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