From e097eb5483b00631ef49353a22a73c2c48939d95 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 21 Apr 2026 06:39:50 +0100 Subject: lbutils: don't use stack memory for path strings Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/libreboot-utils/include') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index a16bdce0..940c4364 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -366,6 +366,8 @@ int scmp(const char *a, const char *b, size_t maxlen, int *rval); int ccmp(const char *a, const char *b, size_t i, int *rval); +int dup_pair(char **dir, const char *d, + char **base, const char *b); char *sdup(const char *s, size_t n, char **dest); char *scatn(ssize_t sc, const char **sv, -- cgit v1.2.1