[MacPorts] #70764: Segfault fetching ports from FTP URLs

MacPorts noreply at macports.org
Sat Sep 21 00:19:42 UTC 2024


#70764: Segfault fetching ports from FTP URLs
-------------------------------------+-------------------------------------
  Reporter:  Ygar-Vanaxe-Tsy-        |      Owner:  jmroot
  xtledron                           |
      Type:  defect                  |     Status:  closed
  Priority:  Normal                  |  Milestone:  MacPorts Future
 Component:  base                    |    Version:  2.10.1
Resolution:  fixed                   |   Keywords:  monterey, ventura,
      Port:                          |  sonoma, sequoia
-------------------------------------+-------------------------------------

Comment (by ryandesign):

 I meant a minimal example not requiring MacPorts. I wrote a C program to
 do an http2 request and then an ftp request and it succeeded.

 Your fix dumps and reinitializes the handle if the scheme changes, but the
 upstream bug report didn't talk about schemes; it talked about protocols.
 I suspect the crash would occur if accessing an http2 host and then
 accessing an http1 host but I would like to test that in a minimal example
 program.

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


More information about the macports-tickets mailing list