| 1 |
Index: rust-sqlx-0.8.2/tests/sqlite/rustsec.rs |
| 2 |
=================================================================== |
| 3 |
--- rust-sqlx-0.8.2.orig/tests/sqlite/rustsec.rs |
| 4 |
+++ rust-sqlx-0.8.2/tests/sqlite/rustsec.rs |
| 5 |
@@ -5,6 +5,7 @@ use sqlx::{Connection, Error, SqliteConn |
| 6 |
// Similar theory to the Postgres exploit in `tests/postgres/rustsec.rs` but much simpler |
| 7 |
// since we just want to overflow the query length itself. |
| 8 |
#[sqlx::test] |
| 9 |
+#[cfg(not(target_pointer_width = "32"))] |
| 10 |
async fn rustsec_2024_0363() -> anyhow::Result<()> { |
| 11 |
let overflow_len = 4 * 1024 * 1024 * 1024; // 4 GiB |
| 12 |
|