Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/patchelf
base: 5cd451775a53
Choose a base ref
...
head repository: NixOS/patchelf
compare: d2e81f04839f
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 22, 2020

  1. Use sh_offset instead of sh_addr when checking already replaced libs

    When checking for already replaced libs, the check against the size must
    be done using the section header offset, not the section file address.
    This was not crashing in many situations because normally sh_address and
    sh_offset have the same value but these two may differ and using the
    sh_address value instead can cause library corruption in these
    situations.
    pablogsal committed Sep 22, 2020
    Copy the full SHA
    83aa89a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #242 from pablogsal/addr

    Use sh_offset instead of sh_addr when checking already replaced libs
    domenkozar committed Sep 22, 2020
    Copy the full SHA
    d2e81f0 View commit details
    Browse the repository at this point in the history