[MacPorts] #64036: SoftHSMv2 port causes free-after-free

MacPorts noreply at macports.org
Mon May 22 16:50:05 UTC 2023


#64036: SoftHSMv2 port causes free-after-free
-------------------------+--------------------
  Reporter:  mouse07410  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  softhsm     |
-------------------------+--------------------

Comment (by iay):

 I have what I think is a fix for this issue, so if you'd like to try
 testing it now would be the time.

 I'm having to deal with a second-level problem, which is that neither my
 fixed version nor the current sources without my fix pass the self-test.
 This appears to be because of the removal of legacy algorithms from
 `openssl`: specifically, DES, which the `softhsm` tests use all over the
 place. This shouldn't be relevant for your testing, though.

 To test, you'd need to go through something like this:

 {{{
 git clone https://github.com/iay/macports-ports.git
 git checkout https://github.com/iay/macports-ports.git
 cd security/softhsm
 sudo port
 [security/softhsm] > uninstall
 [security/softhsm] > install
 [security/softhsm] > ^D
 port installed softhsm
 The following ports are currently installed:
   softhsm @2.6.1_2 (active)
 }}}

 The `_2` is a packaging revision only, the current released version is
 `_1`.

-- 
Ticket URL: <https://trac.macports.org/ticket/64036#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list