Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ffffjfjjfj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ffffjfjjfj
6y ago
This gives a false sense of security, since the most common use-after-free bugs are if you kept a pointer around. Your method doesn't stop things like this: void *p1, *p2; malloc(100, &p1); p2 = p1; ... free(&