Commit 882c027
committed
[flang[mlir] Fix-forward heap use-after-free in llvm#155348
mapInfoOp should not be accessed here because cloneModifyAndErase (line 255) erased it. Fix the issue by replacing mapInfoOp with the cloned op.1 parent c1678e5 commit 882c027
File tree
1 file changed
+2
-1
lines changed- mlir/lib/Dialect/OpenMP/Transforms
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| |||
0 commit comments