Skip to content

Commit 0673fb6

Browse files
authored
[hwasan] Add missing printf parameter in __hwasan_handle_longjmp (llvm#82559)
The diagnostic message had four format specifiers but only three parameters. This patch adds what I assume to be the missing parameter.
1 parent dfa1d9b commit 0673fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/hwasan/hwasan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ void __hwasan_handle_longjmp(const void *sp_dst) {
692692
"WARNING: HWASan is ignoring requested __hwasan_handle_longjmp: "
693693
"stack top: %p; target %p; distance: %p (%zd)\n"
694694
"False positive error reports may follow\n",
695-
(void *)sp, (void *)dst, dst - sp);
695+
(void *)sp, (void *)dst, dst - sp, dst - sp);
696696
return;
697697
}
698698
TagMemory(sp, dst - sp, 0);

0 commit comments

Comments
 (0)