Bug 82202 - [patch] solve security/stunnel's ucontext(3) issue
[patch] solve security/stunnel's ucontext(3) issue
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: roam
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-13 18:10 UTC by vd
Modified: 2005-06-14 10:10 UTC (History)
1 user (show)

See Also:


Attachments
stunnel_ucontext.diff (2.37 KB, patch)
2005-06-13 18:10 UTC, vd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vd 2005-06-13 18:10:23 UTC
This patch fixes the ucontext(3) issue in security/stunnel, described
and discussed in:

http://lists.FreeBSD.org/pipermail/freebsd-ports/2005-May/023344.html
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=81001
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=81162
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=81289

The actual problem is that stunnel tries to reuse its initially
prepared cleanup context. This technique does not work with FreeBSD.
The fix introduced in this patch reinitializes the cleanup context every
time it is going to be used.
Comment 1 flz freebsd_committer 2005-06-13 20:07:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->roam

Over to maintainer.
Comment 2 roam freebsd_committer 2005-06-14 10:09:37 UTC
State Changed
From-To: open->closed

I've committed Michael Trojnara's patch.  Still, thanks A LOT for all 
the time you've spent tracking this down!