3 ms·
And yet, people still store a string_view in a field and then access it past the lifetime of the underlying string. Yes, things have gotten better. Smart point
by UncleMeat 4y ago
And yet, people still store a string_view in a field and then access it past the lifetime of the underlying string.
Yes, things have gotten better. Smart pointers are a godsend. Sanitizers are a godsend. Various static analysis tools work pretty well.
But even codebases that adopt all of these things religiously still are riddled with security vulns.