kpatch/kpatch-build
Evgenii Shatokhin f8669fa8e8 kpatch-build: 'hint' is not needed in kpatch_create_*_sections()
Found in the scope of https://github.com/dynup/kpatch/pull/755 but not
related to the main problem discussed there.

kpatch_create_patches_sections() and kpatch_create_intermediate_sections()
used 'hint' in error messages.

However, the string 'hint' refers to is owned by 'kelf_base' and is
freed before kpatch_create_*_sections() are called. As a result, if
these functions try to output errors and print 'hint',
create-diff-object will crash.

As suggested in the mentioned PR, 'hint' is actually no longer needed at
that stage, so I have removed it from kpatch_create_*_sections().
2018-02-22 15:06:20 +03:00
..
gcc-plugins gcc-plugin: create a ppc64le GCC plugin which inserts nops after local calls 2017-11-10 09:17:00 -06:00
insn
create-diff-object.c kpatch-build: 'hint' is not needed in kpatch_create_*_sections() 2018-02-22 15:06:20 +03:00
create-klp-module.c create-diff-object: don't convert relocation destinations to symbols 2017-11-09 19:16:14 -06:00
create-kpatch-module.c create-kpatch-module: support unbundled symbols 2017-09-20 23:57:24 -05:00
kpatch-build Merge pull request #757 from jpoimboe/TODO-ppc-fix 2017-12-20 23:02:48 -06:00
kpatch-elf.c kpatch-build: clear Elf_Data d_buf buffer on allocation 2017-10-03 16:42:28 -04:00
kpatch-elf.h kpatch-build: Support gcc-6 function prologue 2017-07-27 12:56:00 +05:30
kpatch-gcc kpatch-build: Add additional debug modes 2017-11-17 15:04:11 +01:00
kpatch-intermediate.h create-klp-module: get rid of redundant kpatch_relocation.offset field 2017-11-09 19:16:14 -06:00
list.h new .fixup group size algorithm 2014-09-15 14:54:57 -05:00
log.h log: include error.h 2017-01-23 12:42:35 -08:00
lookup.c lookup: allow local symbols to be in any order 2017-07-06 12:44:50 -05:00
lookup.h support dup file+symbol 2017-02-04 09:37:18 +08:00
Makefile gcc-plugin: create a ppc64le GCC plugin which inserts nops after local calls 2017-11-10 09:17:00 -06:00