diff options
author | Jihoon Kim <jihoon48.kim@samsung.com> | 2024-01-03 17:23:23 +0900 |
---|---|---|
committer | Jihoon Kim <jihoon48.kim@samsung.com> | 2024-01-03 17:23:23 +0900 |
commit | 7654799e4bca986361dcd93fe9e275e046966a68 (patch) | |
tree | 4fec5eb40bd3bfeb01f2c6bf4880494fe810960e | |
parent | 38c5aa93aa9fc212a8b4d580ded719a90e1ab85d (diff) | |
download | libxkbcommon-7654799e4bca986361dcd93fe9e275e046966a68.tar.gz libxkbcommon-7654799e4bca986361dcd93fe9e275e046966a68.tar.bz2 libxkbcommon-7654799e4bca986361dcd93fe9e275e046966a68.zip |
compose.c: fix untrusted source issuetizen_work_20231222
Change-Id: Id9a599f66bb08aac580c6a25612f7016dac89f2f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
-rw-r--r-- | test/compose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compose.c b/test/compose.c index 4f3ae17..4eda30b 100644 --- a/test/compose.c +++ b/test/compose.c @@ -713,7 +713,7 @@ main(int argc, char *argv[]) * explicitely when necessary. */ #ifdef __linux__ - const char *srcdir = getenv("top_srcdir"); + const char *srcdir = secure_getenv("top_srcdir"); clearenv(); if (srcdir) setenv("top_srcdir", srcdir, 1); |