Bug 219951

Summary: security/openvpn-auth-ldap:: Crashes when specifying PFTable
Product: Ports & Packages Reporter: eric
Component: Individual Port(s)Assignee: Matthias Andree <mandree>
Status: Closed Feedback Timeout    
Severity: Affects Some People CC: gert, iON4vbQbctmEwuP, mandree
Priority: --- Keywords: crash, needs-qa
Version: Latest   
Hardware: Any   
OS: Any   

Description eric 2017-06-13 09:55:53 UTC
When adding PFTable in the config file for openvpn-auth-ldap and then  restart openvpn it (openvpn ) crashes with the message:
Assertion failed: (stack != NULL), function +[TRAutoreleasePool addObject:], file TRAutoreleasePool.m, line 203.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2017-06-13 09:59:03 UTC
Correctly specify category/portname, assign to maintainer
Comment 2 Matthias Andree freebsd_committer freebsd_triage 2017-06-13 21:06:10 UTC
Eric,

I am not an Objective C developer and do not have an OpenVPN/LDAP test bed to test against either.  There's not much I can do on my end for now.

I found https://github.com/threerings/openvpn-auth-ldap/ but am not sure if it's authentic, or useful as an upstream, it seems to have been left to rot for a few months with open issues.  If you could try that and possibly mention a particular commit that fixes the crash for you, I could cherry-pick that commit.
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2018-10-08 20:27:12 UTC
Eric, does the bug persist if you build the latest openvpn-auth-ldap from the Git repo mentioned above?
Comment 4 john 2023-01-13 16:33:09 UTC
Hello, i have the same bug with openvpn-2.5.8 and openvpn-auth-ldap-2.0.4_2 (latest version)

When i add PFTable in the config file i get:

Assertion failed: (stack != NULL), function +[TRAutoreleasePool addObject:], file TRAutoreleasePool.m, line 203.
Comment 5 Matthias Andree freebsd_committer freebsd_triage 2023-01-13 18:20:01 UTC
John,

thanks for researching this bug and adding your input -- unfortunately nothing changed WRT my ability to support, see comment #2 here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219951#c2