mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
44382b3ed6
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 |