Mac OS / iOS powerd Arbitrary Port Replacement

powerd on Mac OS and iOS suffers from an arbitrary port replacement vulnerability.