by coder543 · 6y ago · 0 comments
Unlike C or C++, where it can sometimes be harder to tell what the lifetime of something should be, or whether you’re extending the lifetime of a reference beyond the point that it is safe.
Unsafe definitely gives you loaded footguns... which for the umpteenth time is why it is considered a code smell. Sometimes you have to write smelly code, but it’s something to be avoided.
do you think more than a few percent of the "foundational" OSS projects where we find all the classical CVEs have any code review process ?