The bool result of shouldInsertExtraNopBytesForCodeAlign() is not checked but the returned nop count is unconditionally read even though it could be uninitialized.
Details
Details
Diff Detail
Diff Detail
Differential D63285
[RISCV] Fix a potential issue in shouldInsertFixupForCodeAlign() edward-jones on Jun 13 2019, 10:27 AM. Authored by
Details The bool result of shouldInsertExtraNopBytesForCodeAlign() is not checked but the returned nop count is unconditionally read even though it could be uninitialized.
Diff Detail |