- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 3f31704cafd7da3e86bb2861accf5e90c973e62a Mon Sep 17 00:00:00 2001
|
|
From: Matthew Fernandez <matthew.fernandez@gmail.com>
|
|
Date: Wed, 24 Jul 2024 13:39:39 +0800
|
|
Subject: [PATCH] gvc gvconfig_plugin_install_from_config: more tightly scope
|
|
'api'
|
|
|
|
CVE: CVE-2023-46045
|
|
Upstream-Status: Backport [https://gitlab.com/graphviz/graphviz/-/commit/3f31704cafd7da3e86bb2861accf5e90c973e62a]
|
|
|
|
Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
|
|
---
|
|
lib/gvc/gvconfig.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c
|
|
index 2f31b98..ea0d81b 100644
|
|
--- a/lib/gvc/gvconfig.c
|
|
+++ b/lib/gvc/gvconfig.c
|
|
@@ -172,7 +172,7 @@ static char *token(int *nest, char **tokens)
|
|
|
|
static int gvconfig_plugin_install_from_config(GVC_t * gvc, char *s)
|
|
{
|
|
- char *package_path, *name, *api;
|
|
+ char *package_path, *name;
|
|
const char *type;
|
|
int quality;
|
|
int nest = 0;
|
|
@@ -187,7 +187,7 @@ static int gvconfig_plugin_install_from_config(GVC_t * gvc, char *s)
|
|
name = "x";
|
|
package = gvplugin_package_record(gvc, package_path, name);
|
|
do {
|
|
- api = token(&nest, &s);
|
|
+ const char *api = token(&nest, &s);
|
|
const api_t gv_api = gvplugin_api(api);
|
|
do {
|
|
if (nest == 2) {
|
|
--
|
|
2.25.1
|