Re:Major new iOS bug can crash iPhones and disable access to...
by bla2 on Thursday February 15, 2018 @10:49AM
(#16384934)
More like "this is why we should use LLVM's libFuzzer or similar". Apple is just not doing basic code hygiene stuff here.
[ Parent
| on HN ]
Re:Major new iOS bug can crash iPhones and disable access to...
by eridius on Thursday February 15, 2018 @01:18PM
(#16386245)
Apple has been known to fuzz their code. Just because they didn't uncover this particular bug doesn't mean they didn't do any fuzzing, it just means the fuzzing didn't hit this case.
Re:Major new iOS bug can crash iPhones and disable access to...
by TazeTSchnitzel on Thursday February 15, 2018 @11:00AM
(#16385017)
Fuzzing finds bugs, using a safe language precludes them.
Re:Major new iOS bug can crash iPhones and disable access to...
by virgilp on Thursday February 15, 2018 @11:23AM
(#16385213)
No it doesn't. At best it precludes a certain class of bugs (which may be very significant, but it's not a silver bullet)
Re:Major new iOS bug can crash iPhones and disable access to...
by taf2 on Thursday February 15, 2018 @11:49AM
(#16385477)
var stack = [];
function ThisWillNeverCrash() {
console.log('hello');
stack.push('it');
setTimeout(ThisWillNeverCrash, 0);
}setTimeout(ThisWillNeverCrash, 0);
// my point in posting this was to demonstrate a bug ... that array will eventually run out of memory and this loops infinitely but not using a standard language loop construct... but I see someone didn’t think that was relevant
Re:Major new iOS bug can crash iPhones and disable access to...
by vlovich123 on Thursday February 15, 2018 @11:44AM
(#16385425)
What constitutes a safe language? Is Rust safe?
Re:Major new iOS bug can crash iPhones and disable access to...
by steveklabnik on Thursday February 15, 2018 @12:39PM
(#16385891)
Not by the parent's definition, anyway. Rust code certainly has bugs; I know, I've written some!
Now, if they're talking about memory safety bugs...