mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
When CONFIG_FORTIFY_SOURCE is set, memcpy() checks the potential
buffer overflow and panics. The code in sofcpga bootstrapping
contains the memcpy() calls are mistakenly translated as the shorter
size, hence it triggers a panic as if it were overflowing.
This patch changes the secondary_trampoline and *_end definitions
to arrays for avoiding the false-positive crash above.
Fixes:
|
||
|---|---|---|
| .. | ||
| core.h | ||
| headsmp.S | ||
| Kconfig | ||
| l2_cache.c | ||
| Makefile | ||
| ocram.c | ||
| platsmp.c | ||
| pm.c | ||
| self-refresh.S | ||
| socfpga.c | ||