Highlights
Denial of Service: 4 prior fixes. Scrutinize any change in this area.
sqlx-core/src/net/tls/util.rs: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Memory Safety: The use of unsafe string conversion on raw database bytes in SQLite collation callbacks can result in undefined behavior. Future integrations must use safe UTF-8 decoding fallback mechanisms instead of unchecked raw conversions.
Denial of Service: Using panicking assertions (like assert_eq!) during JSONB decoding allows invalid database payloads to crash the calling application, which should be mitigated by returning structured errors instead.
Denial of Service: Insufficient bounds checks when parsing truncated MySQL packet payloads or length-encoded integers can cause out-of-bounds index panics, crashing the client application.