diff options
| author | Aaron Plattner <[email protected]> | 2023-10-05 00:08:19 +0000 |
|---|---|---|
| committer | Josh Poimboeuf <[email protected]> | 2023-10-06 00:01:28 +0000 |
| commit | f404a58dcf0c862b05602f641ce5fdd8b98fbc3a (patch) | |
| tree | 8d3c87efaa32cd26585f027d8b1ca31fde563047 /lib/closure.c | |
| parent | objtool: Propagate early errors (diff) | |
| download | kernel-f404a58dcf0c862b05602f641ce5fdd8b98fbc3a.tar.gz kernel-f404a58dcf0c862b05602f641ce5fdd8b98fbc3a.zip | |
objtool: Remove max symbol name length limitation
If one of the symbols processed by read_symbols() happens to have a
.cold variant with a name longer than objtool's MAX_NAME_LEN limit, the
build fails.
Avoid this problem by just using strndup() to copy the parent function's
name, rather than strncpy()ing it onto the stack.
Signed-off-by: Aaron Plattner <[email protected]>
Link: https://lore.kernel.org/r/41e94cfea1d9131b758dd637fecdeacd459d4584.1696355111.git.aplattner@nvidia.com
Signed-off-by: Josh Poimboeuf <[email protected]>
Diffstat (limited to 'lib/closure.c')
0 files changed, 0 insertions, 0 deletions
