[Bug 220381] net/torsocks: sometimes crashes on 12.0-CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 30 20:28:01 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220381

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kib
Date: Fri Jun 30 20:27:52 UTC 2017
New revision: 320509
URL: https://svnweb.freebsd.org/changeset/base/320509

Log:
  In the stdio cleanup push and pop wrappers, always call libc stubs for
  __pthread_cleanup_push/pop_imp instead of symbols also exported from
  libthr.

  This prevents calls into libthr if libthr is not yet initialized.  The
  situation occurs e.g. when an LD_PRELOADed object is not linked
  against libthr, but the main binary is.

  Reported and tested by:       jbeich
  PR:    220381
  Discussed with:       vangyzen
  Sponsored by: The FreeBSD Foundation
  MFC after:    13 days

Changes:
  head/lib/libc/include/libc_private.h
  head/lib/libc/stdio/local.h

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list