diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-21 09:33:53 (GMT) |
---|---|---|
committer | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-07-21 09:49:30 (GMT) |
commit | 1cc234fea5600190d872329aca60e2365cefc39e (patch) | |
tree | e25305097bafbbc075b34c49bdbfbec9e3f649fe /tests/set-interpreter-long.sh | |
parent | c4deb5e9e1ce9c98a48e0d5bb37d87739b8cfee4 (diff) | |
download | patchelf-1cc234fea5600190d872329aca60e2365cefc39e.zip patchelf-1cc234fea5600190d872329aca60e2365cefc39e.tar.gz patchelf-1cc234fea5600190d872329aca60e2365cefc39e.tar.bz2 |
fix adjusting startPage
startPage is adjusted unconditionally for all executables.
This results in incorrect addresses assigned to INTERP and LOAD
program headers, which breaks patched executable.
Adjusting startPage variable only when startOffset > startPage
should fix this.
This change is related to the issue NixOS#10
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'tests/set-interpreter-long.sh')
0 files changed, 0 insertions, 0 deletions