3 ms·
Memory errors are always logic errors in C. Freeing something that was already freed or accessing a buffer out of bounds and so on are pure logic errors.
by donkeybeer 4y ago
Memory errors are always logic errors in C. Freeing something that was already freed or accessing a buffer out of bounds and so on are pure logic errors.
- pjmlp 4y agoPlenty of logic errors in the last 50 years, CVE appeciates it.
- donkeybeer 4y agoBut that person was trying to say memory errors are some kind of special "magical" error, which is simply wrong. Memory errors are merely logical errors. There is nothing "special" or "mysterious" about them.
- pjmlp 4y agoGiven the common meme as nasal dragons for UB, there is certainly some magic creatures associated with them.