mirror of https://gitee.com/openkylin/linux.git
e46daee53b
The arm compiler internally interprets an inline assembly label
as an unsigned long value, not a pointer. As a result, under
CONFIG_FORTIFY_SOURCE, the address of a label has a size of 4 bytes,
which was tripping the runtime checks. Instead, we can just cast the label
(as done with the size calculations earlier).
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1639397
Reported-by: William Cohen <wcohen@redhat.com>
Fixes:
|
||
---|---|---|
.. | ||
kprobes | ||
uprobes | ||
Makefile | ||
decode-arm.c | ||
decode-arm.h | ||
decode-thumb.c | ||
decode-thumb.h | ||
decode.c | ||
decode.h |