[all-commits] [llvm/llvm-project] 4527ad: Fix null pointer dereference in logging in mlir Tr...

Daniel Kuts via All-commits all-commits at lists.llvm.org
Wed May 15 08:15:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4527adc500ea0dc4b942a51dc7209da4ea26d9a2
      https://github.com/llvm/llvm-project/commit/4527adc500ea0dc4b942a51dc7209da4ea26d9a2
  Author: Daniel Kuts <kutz at ispras.ru>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp

  Log Message:
  -----------
  Fix null pointer dereference in logging in mlir TransformOps (#92237)

A variable `typeConverterOp` may be nullptr after dynamic cast. There is
a security guard for this, but during logging error message the variable
getting dereferenced.
Found with static analysis.



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