Skip to content

Commit 7901be1

Browse files
[libc] fortify jmp buffer
1 parent 2bb6a32 commit 7901be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/setjmp/x86_64/longjmp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ LLVM_LIBC_FUNCTION(void, longjmp, (jmp_buf, int)) {
8181
#if LIBC_COPT_SETJMP_ENABLE_FORTIFICATION
8282
// clang-format off
8383
,[rotation] "i"(jmpbuf::ROTATION)
84-
, [chksum] "i"(offsetof(__jmp_buf, __chksum))
84+
,[chksum] "i"(offsetof(__jmp_buf, __chksum))
8585
// clang-format on
8686
#endif
8787
: "rax", "rdx", "rcx", "rsi");

0 commit comments

Comments
 (0)