Package: patchelf / 0.9+52.20180509-1

Metadata

Package Version Patches format
patchelf 0.9+52.20180509-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
adjust_startPage_issue127_commit1cc234fea.patch | (download)

src/patchelf.cc | 6 2 + 4 - 0 !
1 file changed, 2 insertions(+), 4 deletions(-)

 [patch] 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>