projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c5aa9
)
compose.c: fix untrusted source issue
tizen_work_20231222
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 3 Jan 2024 08:23:23 +0000
(17:23 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 3 Jan 2024 08:23:23 +0000
(17:23 +0900)
Change-Id: Id9a599f66bb08aac580c6a25612f7016dac89f2f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
test/compose.c
patch
|
blob
|
history
diff --git
a/test/compose.c
b/test/compose.c
index 4f3ae17a5b8b391e62f6e89b9d547fb9a6be7279..4eda30b3fd24f6ae2ca24e364dfddd59a64b68e1 100644
(file)
--- 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);