diff --git a/CVE-2025-31163.patch b/CVE-2025-31163.patch index d3b418c560506df6a9dfe7ae914788d26fbfcfd7..ab9b37dc4c6f813e2c6b9b9608743fa74e3eca39 100644 --- a/CVE-2025-31163.patch +++ b/CVE-2025-31163.patch @@ -2,6 +2,8 @@ Origin: https://sourceforge.net/p/mcj/tickets/186/ https://sourceforge.net/p/mcj/fig2dev/ci/c8a87d22036e62bac0c6f7836078d8103caa6457/ +diff --git a/fig2dev/object.h b/fig2dev/object.h +index 7f83939..50afbf0 100644 --- a/fig2dev/object.h +++ b/fig2dev/object.h @@ -3,7 +3,7 @@ @@ -13,7 +15,7 @@ https://sourceforge.net/p/mcj/fig2dev/ci/c8a87d22036e62bac0c6f7836078d8103caa645 * * Any party obtaining a copy of these files is granted, free of charge, a * full and unrestricted irrevocable, world-wide, paid up, royalty-free, -@@ -91,10 +91,10 @@ typedef struct f_ellipse { +@@ -91,10 +91,10 @@ struct f_ellipse *next; } F_ellipse; @@ -27,7 +29,7 @@ https://sourceforge.net/p/mcj/fig2dev/ci/c8a87d22036e62bac0c6f7836078d8103caa645 e->angle < -7. || e->angle > 7. typedef struct f_arc { -@@ -121,12 +121,16 @@ typedef struct f_arc { +@@ -121,12 +121,16 @@ struct f_arc *next; } F_arc; @@ -46,13 +48,15 @@ https://sourceforge.net/p/mcj/fig2dev/ci/c8a87d22036e62bac0c6f7836078d8103caa645 typedef struct f_line { int type; +diff --git a/fig2dev/tests/read.at b/fig2dev/tests/read.at +index 1b4baea..da9ea3e 100644 --- a/fig2dev/tests/read.at +++ b/fig2dev/tests/read.at @@ -2,7 +2,7 @@ dnl Fig2dev: Translate Fig code to various Devices dnl Copyright (c) 1991 by Micah Beck dnl Parts Copyright (c) 1985-1988 by Supoj Sutanthavibul dnl Parts Copyright (c) 1989-2015 by Brian V. Smith --dnl Parts Copyright (c) 2015-2023 by Thomas Loimer +-dnl Parts Copyright (c) 2015-2024 by Thomas Loimer +dnl Parts Copyright (c) 2015-2025 by Thomas Loimer dnl dnl Any party obtaining a copy of these files is granted, free of charge, a @@ -61,12 +65,12 @@ https://sourceforge.net/p/mcj/fig2dev/ci/c8a87d22036e62bac0c6f7836078d8103caa645 dnl and this permission notice remain intact. dnl read.at --dnl Author: Thomas Loimer, 2017-2020 +-dnl Author: Thomas Loimer, 2017-2024 +dnl Author: Thomas Loimer, 2017-2025 AT_BANNER([Sanitize and harden input.]) -@@ -237,6 +237,16 @@ EOF +@@ -248,6 +248,16 @@ EOF ]) AT_CLEANUP @@ -83,4 +87,6 @@ https://sourceforge.net/p/mcj/fig2dev/ci/c8a87d22036e62bac0c6f7836078d8103caa645 AT_SETUP([survive debian bugs #881143, #881144]) AT_KEYWORDS([font pic tikz]) AT_CHECK([fig2dev -L pic < - 1:3.2.9a-1 +- update to 3.2.9a + * Tue Apr 29 2025 yaoxin <1024769339@qq.com> - 1:3.2.9-3 - Fix CVE-2025-46397,CVE-2025-46398,CVE-2025-46399 and CVE-2025-46400