Apple fixes three zero-day vulnerabilities in macOS and tvOS