4 ms·
> A band-aid fix for this one bug should not be where they stop here. What do you suggest they do?
by saagarjha 7y ago
> A band-aid fix for this one bug should not be where they stop here.
What do you suggest they do?
- mzkply 7y agothey can force-push emergency fixes
- saagarjha 7y agoThis isn't easy on iOS, and that doesn't sound like a particularly good idea anyways.
- swalsh 7y agoWould it not be possible to detect malformed messages, and prevent them from being sent to a phone in the first place?
- saagarjha 7y agoNo idea; it might be that Apple can't detect these because they're encrypted.
- applecrazy 7y agoYes, they're encrypted in transit.
- romaaeterna 7y agoThe easiest thing that occurs to me would be a on-phone "message virus scanner" that self-updates and checks incoming messages against a threat database after decryption, but before passing them to the rest of the system. Architecture-wise some thought should be given to keeping iOS from being DoS'd by the crash/respawn of any service. Also, looking at the "assuming it's a string" line from the problem description, Apple needs to make an investment look through the codebase for this same error in other guises. That's what occurs to me off the top of my head anyway.