Issue 157451
Summary Possible NULL dereference in mlir/Conversion/MPIToLLVM
Labels mlir
Assignees
Reporter apach301
    Hi,

I found possible null pointer dereference with Svace static analyzer.

A `strAttr` pointer is checked on NULL and then dereferenced while error printing in MPIImplTraits::get() at mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp:
https://github.com/llvm/llvm-project/blob/b5a1747c8fec1b49971d2c4e259c844a1242a7cb/mlir/lib/Conversion/MPIToLLVM/MPIToLLVM.cpp#L406-L408
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to