$NetBSD: patch-tests_jq.test,v 1.1 2025/06/22 06:16:19 kim Exp $ Fixes CVE-2025-49014 which was introduced in 1.8.0 https://github.com/jqlang/jq/commit/499c91bca9d4d027833bc62787d1bb075c03680e.patch --- tests/jq.test.orig 2025-06-01 05:58:31.000000000 +0000 +++ tests/jq.test 2025-06-22 06:08:48.077032552 +0000 @@ -2495,3 +2495,11 @@ 3 2 4 + +# regression test for CVE-2025-49014 (use of fmt after free) +# tests with both empty string literal and empty string created by function +# as they seems to behave referecne wise differently. +strflocaltime("" | ., @uri) +0 +"" +""