projects
/
platform
/
core
/
system
/
feedbackd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
standard : fix svace issue
[platform/core/system/feedbackd.git]
/
src
/
haptic
/
standard.c
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;