3 ms·
Could MacOS be affected? A not insignificant part of the userland comes from FreeBSD.
by pajko 4y ago
Could MacOS be affected? A not insignificant part of the userland comes from FreeBSD.
- pajko 4y agoSeems like so. The fix [0] mainly replaces memcpys added by a former commit [1], which seems to be the main difference between the FreeBSD and Apple variant of ping [2], but probably that's not the source of the bug. What smells in there is 'hlen = ip->ip_hl << 2' [0] https://github.com/freebsd/freebsd-src/commit/46d7b45a267b3d78c5054b210ff7b6c55bfca42b https://github.com/freebsd/freebsd-src/commit/46d7b45a267b3d... [1] https://github.com/freebsd/freebsd-src/commit/d9cacf605e2ac0f704e1ce76357cbfbe6cb63d52 https://github.com/freebsd/freebsd-src/commit/d9cacf605e2ac0... [2] https://opensource.apple.com/source/network_cmds/network_cmds-543.50.4/ping.tproj/ping.c.auto.html https://opensource.apple.com/source/network_cmds/network_cmd...