projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e757756
)
Fix wrong strncpy usage
64/134464/1
accepted/tizen/unified/20170630.083315
submit/tizen/20170622.051018
author
Pawel Kurowski
<p.kurowski2@samsung.com>
Fri, 16 Jun 2017 18:36:00 +0000
(20:36 +0200)
committer
Pawel Kurowski
<p.kurowski2@samsung.com>
Fri, 16 Jun 2017 18:36:00 +0000
(20:36 +0200)
Change-Id: Id4ee0975ccbce4043ded7d00f7238e057db26f3b
test/at_spi2_tool.c
patch
|
blob
|
history
diff --git
a/test/at_spi2_tool.c
b/test/at_spi2_tool.c
index
e9b3d68
..
95c726c
100644
(file)
--- a/
test/at_spi2_tool.c
+++ b/
test/at_spi2_tool.c
@@
-341,7
+341,7
@@
static void _test_atspi_parent_child_relation(AtspiAccessible *obj, AtspiAccessi
char parent_status[NUMBER_WIDTH];
if (parent == NULL)
- strncpy(parent_status,
NUMBER_WIDTH, "_"
);
+ strncpy(parent_status,
"_", NUMBER_WIDTH
);
else
snprintf(parent_status, NUMBER_WIDTH, "%d", parent_index);