[all-commits] [llvm/llvm-project] f2d3d8: [mlir][linalg][Transform] Fix use-after-free in `S...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Jun 24 12:36:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
      https://github.com/llvm/llvm-project/commit/f2d3d829b97a221c9ce3a3467a20ea51bb29ecbd
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp

  Log Message:
  -----------
  [mlir][linalg][Transform] Fix use-after-free in `SplitOp::apply` (#96390)

Detected with ASAN. `Operation::getLoc()` was called after erasing the
operation.

Reverts 48cf6b6bbe7a22bfcd98f82dc7afd21c9decd22f, which attempted to fix
the use-after-free. (But the use-after-free is still there when the
`hasFailed` branch is taken.)



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