Description: Skip 4GiB integer overflow test on 32-bit
Author: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-08-22
---
--- a/tests/sqlite/rustsec.rs
+++ b/tests/sqlite/rustsec.rs
@@ -5,6 +5,7 @@ use sqlx::{AssertSqlSafe, Connection, Er
 // Similar theory to the Postgres exploit in `tests/postgres/rustsec.rs` but much simpler
 // since we just want to overflow the query length itself.
 #[sqlx::test]
+#[cfg(not(target_pointer_width = "32"))]
 async fn rustsec_2024_0363() -> anyhow::Result<()> {
     let overflow_len = 4 * 1024 * 1024 * 1024; // 4 GiB
 
