projects
/
platform
/
core
/
multimedia
/
pulseaudio-modules-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26a62a2
)
fixup! Fix SVACE defects (LIB.INSECURE_STRNCMP)
36/314536/2
author
Seungbae Shin
<seungbae.shin@samsung.com>
Mon, 15 Jul 2024 05:35:00 +0000
(14:35 +0900)
committer
Seungbae Shin
<seungbae.shin@samsung.com>
Mon, 15 Jul 2024 05:35:57 +0000
(14:35 +0900)
Change-Id: I05eaf449683295fdd16743539f184e99585d090e
src/vconf/vconf-helper.c
patch
|
blob
|
history
diff --git
a/src/vconf/vconf-helper.c
b/src/vconf/vconf-helper.c
index 6a03a9e036f3540ae76fa6078b9a1b103e7083be..f04af6f8c69e50bd96297fdb0f1703cee05b3686 100644
(file)
--- a/
src/vconf/vconf-helper.c
+++ b/
src/vconf/vconf-helper.c
@@
-46,7
+46,7
@@
static void vconf_callback(keynode_t *key, void *data) {
idx = vitem->prefix;
- if (
pa_safe_streq(vconf_keynode_get_name(key), vconf_prefix[idx]
)) {
+ if (
!strncmp(vconf_keynode_get_name(key), vconf_prefix[idx], strlen(vconf_prefix[idx]) + 1
)) {
snprintf(buf, sizeof(buf), "%c%s", vitem->opcode, vconf_keynode_get_name(key));
fprintf(stdout, "%s%c", buf, 0); /* Send opcode + key + '\0'. */