mirror of
https://github.com/torvalds/linux
synced 2024-09-06 09:51:23 +00:00
![]() err is a 32-bit integer, but elf_update returns an off_t, which is 64-bit
at least on 64-bit platforms. If symbols_patch is called on a binary between
2-4GB in size, the result will be negative when cast to a 32-bit integer,
which the code assumes means an error occurred. This can wrongly trigger
build failures when building very large kernel images.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Build | ||
main.c | ||
Makefile |