[MacPorts] #46623: procmail @3.22 on OS X Yosemite hits "Abort trap: 6" if variable assignment uses backticks

MacPorts noreply at macports.org
Fri Jun 5 18:58:53 UTC 2020


#46623: procmail @3.22 on OS X Yosemite hits "Abort trap: 6" if variable assignment
uses backticks
-------------------------+--------------------------------
  Reporter:  macports@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.3
Resolution:  fixed       |   Keywords:
      Port:  procmail    |
-------------------------+--------------------------------
Changes (by csanchezdll):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"0ab6f3fbcba57b30212f4abe1b32529e44784ae1/macports-ports"
 0ab6f3fbcba57b30212f4abe1b32529e44784ae1/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="0ab6f3fbcba57b30212f4abe1b32529e44784ae1"
 procmail: avoid using strlcat/strlcpy

 * strlcpy in macOS has undefined behaviour if strings overlap, which
 causes
   backtick substitution to fail.
 * this patch foces to use a substitute function provided in procmail
 source
   for systems where strlcat/strlcpy are not available.

 Fixes: https://trac.macports.org/ticket/46623
 }}}

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


More information about the macports-tickets mailing list