projects
/
platform
/
core
/
system
/
peripheral-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b629d9e
)
board: increased the memory size because of unterminated string occurred.
64/154564/1
author
Segwon
<segwon.han@samsung.com>
Tue, 10 Oct 2017 12:25:12 +0000
(21:25 +0900)
committer
Segwon
<segwon.han@samsung.com>
Tue, 10 Oct 2017 12:25:12 +0000
(21:25 +0900)
Change-Id: I5839e07b77eda7cab197248ba146bc9226573c5c
Signed-off-by: Segwon <segwon.han@samsung.com>
src/daemon/peripheral_bus_board.c
patch
|
blob
|
history
diff --git
a/src/daemon/peripheral_bus_board.c
b/src/daemon/peripheral_bus_board.c
index
cb1720b
..
9750fe0
100644
(file)
--- a/
src/daemon/peripheral_bus_board.c
+++ b/
src/daemon/peripheral_bus_board.c
@@
-120,7
+120,7
@@
static int peripheral_bus_board_ini_get_nkeys(dictionary *dict)
static int peripheral_bus_board_get_type(void)
{
int fd, i, ret = 0;
- char str_buf[STR_BUF_MAX] = {0};
+ char str_buf[STR_BUF_MAX
+ 1
] = {0};
int type = PB_BOARD_UNKNOWN;
fd = open(BOARD_DEVICE_TREE, O_RDONLY);