[MacPorts] #69624: mbedtls3 @3.6.0 uses wrong number of args to memcpy: error: macro "memcpy" requires 3 arguments, but only 2 given
MacPorts
noreply at macports.org
Wed Apr 10 15:12:39 UTC 2024
#69624: mbedtls3 @3.6.0 uses wrong number of args to memcpy: error: macro "memcpy"
requires 3 arguments, but only 2 given
---------------------------+-------------------------
Reporter: barracuda156 | Owner: Schamschula
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: fixed | Keywords:
Port: mbedtls3 |
---------------------------+-------------------------
Comment (by kencu):
Replying to [comment:5 kencu]:
> Not sure how it can ever be right to call memcpy with 2 args though…
wonder why they loosened up on that?
the third arg (size) to memcpy and friends is now calculated at compile
time from the size of the first object, rather than accepting the size
that is passed in by the caller, which I suppose may be wrong and open up
a security hole.
https://stackoverflow.com/questions/74756914/what-are-darwin-obsz-and-
darwin-obsz0
--
Ticket URL: <https://trac.macports.org/ticket/69624#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list