Skip to content

Commit 4890d9a

Browse files
committed
Address review comment
Created using spr 1.3.6-beta.1
1 parent 1656b78 commit 4890d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Bitcode/Reader/BitcodeReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3819,7 +3819,7 @@ Error BitcodeReader::parseConstants() {
38193819
break;
38203820
}
38213821
case bitc::CST_CODE_PTRAUTH2: {
3822-
if (Record.size() < 4)
3822+
if (Record.size() < 5)
38233823
return error("Invalid ptrauth record");
38243824
// Ptr, Key, Disc, AddrDisc, DeactivationSymbol
38253825
V = BitcodeConstant::create(

0 commit comments

Comments
 (0)