Hacker News new | ask | show | jobs
by rhdunn 1148 days ago
SQLite? That has an extensive test suite and has been extensively vetted/checked.
1 comments

True, but there are quite a few CVEs (of varying severity) https://www.cvedetails.com/vulnerability-list/vendor_id-9237...

Another way to look at that is "SQlite has had these bugs in the past, and our standards are unlikely to be that high". It does deal with a quite complex problem domain, but is still a strong warning re. vulnerabilities in C.

I actually am waiting for the increase in CVE number of rust replacements. So we can compare.

As for now, less exposure means less CVE. So the numbers are biased.

As usually, time will tell.

We have the data now https://security.googleblog.com/2022/12/memory-safe-language...

1.5M lines of Rust in Android and not a single memory vulnerability found, including in their unsafe Rust code. They also observe that the number of memory vulnerabilities decreases almost exactly inline with the decreasing use of memory unsafe language in Android.

The Android Rust code is also showing to have less bugs in general than the C/++ code.