≈ the.bay.news

Use-After-Free Is a Lifetime Bug, Not a C Bug

DEV Community
Use-After-Free Is a Lifetime Bug, Not a C Bug
Use-after-free gets filed under 'C is dangerous', which is the wrong lesson and hides the real one. The bug is not the free. It is a reference that outlived the thing it pointed to, and nothing enforced that the two lifetimes had to match.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.