| 1 | From 951743698610eaaa0cc9030f7d7d02437419ac24 Mon Sep 17 00:00:00 2001
|
| 2 | From: Neil Hanlon <[email protected]>
|
| 3 | Date: Fri, 9 Feb 2024 15:32:38 -0500
|
| 4 | Subject: [PATCH] Add gobject example source code to path for mkhtml test
|
| 5 |
|
| 6 | Fixes #150
|
| 7 |
|
| 8 | I'm not really sure why this is required, but I suspect it has to do
|
| 9 | with changes in how GCC handles path traversal due to recent (ish)
|
| 10 | security issues, as the code here is evaluated to
|
| 11 | `../xml/../../examples/gobject.c` which probably looks unhealthy to
|
| 12 | automatically include.
|
| 13 |
|
| 14 | Signed-off-by: Neil Hanlon <[email protected]>
|
| 15 | ---
|
| 16 | tests/gobject/docs/meson.build | 1 +
|
| 17 | 1 file changed, 1 insertion(+)
|
| 18 |
|
| 19 | diff --git a/tests/gobject/docs/meson.build b/tests/gobject/docs/meson.build
|
| 20 | index a1dd66ca..236a1cc0 100644
|
| 21 | |
| 22 | |
| 23 | @@ -119,6 +119,7 @@ test(
|
| 24 | '--path=@0@'.format(':'.join([
|
| 25 | gobject_test_docs_dir,
|
| 26 | srcdir,
|
| 27 | + join_paths(srcdir, 'tests/gobject/examples'),
|
| 28 | ])
|
| 29 | ),
|
| 30 | ],
|
| 31 | --
|
| 32 | GitLab
|
| 33 |
|