ports/security/gvmd/files/patch-src_manage_configs.c
Jose Alonso Cardenas Marquez db1cf95d31 security/gvm: Fix issues with newer version of glib2/pcre2
PR:		267429
Reported by:	freebsd _at_ ny-central.org, andrew _at_ tekrealm.net
Obtained from:	https://github.com/greenbone/gvmd/pull/1867/files
2022-10-30 18:05:16 -05:00

11 lines
529 B
C

--- src/manage_configs.c 2022-10-30 17:15:56.559846000 -0500
+++ src/manage_configs.c 2022-10-30 17:17:03.298223000 -0500
@@ -316,7 +316,7 @@
split = g_regex_split_simple
(/* Full-and-Fast--daba56c8-73ec-11df-a475-002264764cea.xml */
- "^.*([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12}).xml$",
+ "^.*([0-9a-f]{8})\\-([0-9a-f]{4})\\-([0-9a-f]{4})\\-([0-9a-f]{4})\\-([0-9a-f]{12}).xml$",
path, 0, 0);
if (split == NULL || g_strv_length (split) != 7)