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

MacPorts noreply at macports.org
Wed May 24 13:31:18 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 mouse07410):

 > You don't say where the proposed code comes from

 https://github.com/openssl/openssl/issues/21023#issuecomment-1558503033

 > or what it does

 **Hopefully**, prevents the module from initiating {{{OPENSSL_cleanup()}}}
 upon exit, which apparently causes problems (crashes) when there's more
 than one module involved.

 > it's not part of the upstream codebase, at least on their develop branch

 Correct, upstream does not have it.

 > Is this additional change needed to fix your issue

 I **think** it will help with this issue.

 > If I can, I'd like to restrict this to cherry-picking from the upstream
 project to fix a single issue

 Understood. SOmebodyneeds to bring this up with the upstream maintainers.
 :-(

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


More information about the macports-tickets mailing list