diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2021-09-09 08:03:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2021-09-09 16:50:54 +0000 |
commit | b561b51a472779a083f4b109b9821bc7963a6ff4 (patch) | |
tree | ce3a53b9d3d1c8b8c9205c7e447493552514f98d /src/ChangeLog | |
parent | fdbf472a7b0120ec66b546a3067d67bbf8e17f8a (diff) | |
download | elfutils-b561b51a472779a083f4b109b9821bc7963a6ff4.tar.gz |
findtextrel: do not use unbound alloca
This fixes the following compilation warning:
findtextrel.c:184:1: warning: stack usage might be unbounded [-Wstack-usage=]
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r-- | src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e8fce200..87b3dd46 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2021-09-09 Dmitry V. Levin <ldv@altlinux.org> + + * findtextrel.c: Include "libeu.h". + (open_rootdir_file): New function. + (process_file): Use it to open file inside rootdir. + * Makefile.am (findtextrel_no_Wstack_usage): Remove. + 2021-09-06 Dmitry V. Levin <ldv@altlinux.org> * objdump.c (show_disasm): Replace asprintf followed by |