This is temporary solution: it still will crash on
filenames, longer than PATH_MAX.
Change-Id: Ifb818eab7c34bd9e1e93bbcb4b558b5b7026b519
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp_path[50];
- char temp_mode[50];
+ char temp_path[PATH_MAX];
+ char temp_mode[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp_path[50];
- char temp_mode[50];
+ char temp_path[PATH_MAX];
+ char temp_mode[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
int nRead = 0;
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
int nRead = 0;
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
int nRead = 0;
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[1024];
- char temp_pos[50];
+ char temp[PATH_MAX];
+ char temp_pos[PATH_MAX];
FileAttributes attr;
long long size = 0;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
int nWritten = 0;
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp[50];
+ char temp[PATH_MAX];
int nWritten = 0;
FileAttributes attr;
long long size = 0L;
probeInfo_t probeInfo;
int blockresult;
bool bfiltering = true;
- char temp_buf[50];
- char temp_path[50];
+ char temp_buf[PATH_MAX];
+ char temp_path[PATH_MAX];
int nWritten = 0;
FileAttributes attr;
long long size = 0L;