[MacPorts] #49745: reduce-cal build failure under OS X 10.10.5 (Yosemite)

MacPorts noreply at macports.org
Sun Nov 22 11:09:09 PST 2015


#49745: reduce-cal build failure under OS X 10.10.5 (Yosemite)
----------------------------+--------------------------------
  Reporter:  zanderpower@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:
      Port:  reduce-csl     |
----------------------------+--------------------------------

Comment (by mark.brethen@…):

 In cslbase/print.c line 105 there is a constant VPRINTF_CHUNK. The current
 value is 256 and an effect is that when it tries to pint a message longer
 than that you get a buffer overflow. The path that macports repository
 uses triggers that very overflow. Whereas I was building from my local
 repository. Need to patch it .

 I posted a patch to csl/cslbase/print.c so that the constant there is
 (say) 2048 rather than 256; and one for the portfile as well.

-- 
Ticket URL: <https://trac.macports.org/ticket/49745#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list