[all-commits] [llvm/llvm-project] 9312cb: Fix Undefined Behavior in MLIR Diagnostic: don't c...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Sat Oct 2 15:12:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9312cb6f2092f73fdc4b288cbbd29129fc83c386
https://github.com/llvm/llvm-project/commit/9312cb6f2092f73fdc4b288cbbd29129fc83c386
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2021-10-02 (Sat, 02 Oct 2021)
Changed paths:
M mlir/lib/IR/Diagnostics.cpp
Log Message:
-----------
Fix Undefined Behavior in MLIR Diagnostic: don't call memcpy with a nullptr source
This happens when streaming an empty Twine as part of a diagnostic.
Differential Revision: https://reviews.llvm.org/D111002
More information about the All-commits
mailing list