[Midnightbsd-cvs] [MidnightBSD/src] 3810b1: Handle case where inflateSync used when header nev...

Lucas Holt noreply at github.com
Wed Sep 15 09:31:02 EDT 2021


  Branch: refs/heads/stable/2.1
  Home:   https://github.com/MidnightBSD/src
  Commit: 3810b17ae14b333ff8af61ef86f22a06b5b52585
      https://github.com/MidnightBSD/src/commit/3810b17ae14b333ff8af61ef86f22a06b5b52585
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M contrib/zlib/inflate.c

  Log Message:
  -----------
  Handle case where inflateSync used when header never processed.
If zlib and/or gzip header processing was requested, but a header
was never provided and inflateSync was used successfully, then the
inflate state would be inconsistent, trying to compute a check
value but with no flags set. This commit sets the inflate mode to
raw in this case, since there is no other assumption that can be
made if a header was requested but never seen.

Obtained from: https://github.com/madler/zlib/commit/44e8ac810d7d50381429a15cdc6e48816beafd2b


  Commit: 239553d6b73923abc6dce7f20b9ecca2187dbfff
      https://github.com/MidnightBSD/src/commit/239553d6b73923abc6dce7f20b9ecca2187dbfff
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M include/dlfcn.h
    M libexec/rtld-elf/map_object.c
    M libexec/rtld-elf/rtld.c
    M libexec/rtld-elf/rtld.h

  Log Message:
  -----------
  Add the RTLD_DEEPBIND flag


  Commit: d74c62ca35191f47e8cde5387adca8f22945abb4
      https://github.com/MidnightBSD/src/commit/d74c62ca35191f47e8cde5387adca8f22945abb4
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M usr.bin/ldd/ldd.c

  Log Message:
  -----------
  Fix ldd for PIE binaries after rtld stopped accepting binaries for dlopen.


Compare: https://github.com/MidnightBSD/src/compare/e0bf935308e6...d74c62ca3519


More information about the Midnightbsd-cvs mailing list