News for hackers. Stuff that matters.
Re:Should I buy ECC memory? (2015) by marcosdumay on Wednesday April 26, 2017 @09:00PM (#14208365)
How do you calculate those checksums without relying on the memory?
Re:Should I buy ECC memory? (2015) by 8note on Wednesday April 26, 2017 @10:17PM (#14208711)
the chances of the memory erroring in such a way that the checksum still matches becomes quite small
Re:Should I buy ECC memory? (2015) by Retra on Wednesday April 26, 2017 @09:10PM (#14208415)
You can't really, but you are now requiring the error to occur specifically in the memory containing your checksum, rather than anywhere in your data.
Re:Should I buy ECC memory? (2015) by marcosdumay on Wednesday April 26, 2017 @10:42PM (#14208799)
It deeper than that. What are you calculating the checksum of? Is it corrupted already?

If you can't trust your RAM, you have no hard truth to rely on. It's only probabilistic programing or living with the errors.

(Although, rereading the GP, he seems to be talking about corrupted binaries. Yes, you can catch corrupted binaries, but only after they corrupted some data.)

Re:Should I buy ECC memory? (2015) by lomnakkus on Friday May 05, 2017 @05:19PM (#14276916)
It's even worse than that: where's the code that's doing all the chucksumming and checking of checksums? Presumably it came from memory at some point...

Maybe it was read fine from the binary the first time, but the second time...

At some point you just have to hope.