3 ms·
That’s what secure coding guidelines say to do. It’s called “input validation”. For example here’s Apple’s: https://developer.apple.com/library/archive/document
by aaronbrager 7y ago
That’s what secure coding guidelines say to do. It’s called “input validation”. For example here’s Apple’s: https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/Articles/ValidatingInput.html https://developer.apple.com/library/archive/documentation/Se...
Especially important on methods called on launch, if a crash would cause a problem.
(Swift or other strongly typed language would help here.)
- lagadu 7y agoThe halting problem's existence means that there's no input validation that is guaranteed to work absolutely 100% of the time though, for sufficiently large inputs.