projects
/
platform
/
core
/
system
/
feedbackd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b7da4d
)
standard : fix svace issue
26/224126/1
accepted/tizen/5.5/unified/20200217.054216
submit/tizen_5.5/20200214.104438
author
Yunmi Ha
<yunmi.ha@samsung.com>
Thu, 6 Feb 2020 10:37:10 +0000
(19:37 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Thu, 6 Feb 2020 10:37:50 +0000
(10:37 +0000)
Change-Id: I04decbdb6ac5abc876e266c9a7abd08a8ec2b443
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
(cherry picked from commit
0a468ea1d8e39db6e56d90709ed934c392dd09ee
)
src/haptic/standard.c
patch
|
blob
|
history
diff --git
a/src/haptic/standard.c
b/src/haptic/standard.c
index
d27139a
..
51d7f2a
100644
(file)
--- a/
src/haptic/standard.c
+++ b/
src/haptic/standard.c
@@
-195,6
+195,7
@@
static int ff_find_device(void)
if (test_bit(FF_RUMBLE, features)) {
memcpy(ff_path, ev_path, strlen(ev_path));
+ ff_path[strlen(ev_path)] = '\0';
close(fd);
closedir(dir);
return 0;