projects
/
platform
/
core
/
uifw
/
capi-ui-sticker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68765f4
)
Fixed the crash issue when the file is received
33/225433/1
author
InHong Han
<inhong1.han@samsung.com>
Thu, 20 Feb 2020 02:03:35 +0000
(11:03 +0900)
committer
InHong Han
<inhong1.han@samsung.com>
Thu, 20 Feb 2020 02:03:35 +0000
(11:03 +0900)
Change-Id: I1bd033d3cda4b16e537842929b6eccd035678b9d
receiver/src/ft.cpp
patch
|
blob
|
history
diff --git
a/receiver/src/ft.cpp
b/receiver/src/ft.cpp
index
c9af50d
..
b073de7
100644
(file)
--- a/
receiver/src/ft.cpp
+++ b/
receiver/src/ft.cpp
@@
-24,6
+24,7
@@
#include <string.h>
#include <string>
#include <unistd.h>
+#include <linux/limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <pwd.h>
@@
-143,7
+144,7
@@
static void __set_file_transfer_cb(sap_file_transaction_h file_socket)
void accept_file()
{
int ret;
- char file_path[
100
];
+ char file_path[
PATH_MAX
];
char *data_path = NULL;
data_path = app_get_shared_data_path();