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

MacPorts noreply at macports.org
Tue Jun 13 08:53:08 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):

 You can do this to uninstall the original and build the revised version:

 {{{
 mkdir foo
 cd foo
 git clone git at github.com:iay/macports-ports
 cd macports-ports
 git checkout 64036-softhsm-segv
 cd security/softhsm
 sudo port uninstall softhsm
 sudo port install
 port installed softhsm
 }}}

 Note that `sudo port install` does ''not'' include the port name; you're
 building from the current directory.

 The last command should return:

 {{{
 The following ports are currently installed:
   softhsm @2.6.1_2 (active)
 }}}

 The `_2` indicates that you're using the patched version.

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


More information about the macports-tickets mailing list