3 ms·
It handily converts your buggy pointer traversal code from SEGFAULT to infinite loop.
by jws 16y ago
It handily converts your buggy pointer traversal code from SEGFAULT to infinite loop.
- swolchok 16y agoWhy is that good? It also doesn't solve: int *p = malloc(LOTS); int v = read_from_network(); int o = read_from_network(); p[o] = v; if that malloc fails, for example.
- Seth_Kriticos 16y agoEver heard of sarcasm?
- palish 16y agoI was sarcastic once.