projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8938c3
)
removed strcpy
author
Armin Novak
<armin.novak@thincast.com>
Thu, 29 Nov 2018 14:50:43 +0000
(15:50 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Thu, 6 Dec 2018 09:17:05 +0000
(10:17 +0100)
winpr/libwinpr/file/generic.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/file/generic.c
b/winpr/libwinpr/file/generic.c
index
6959843
..
40c7b3e
100644
(file)
--- a/
winpr/libwinpr/file/generic.c
+++ b/
winpr/libwinpr/file/generic.c
@@
-944,7
+944,7
@@
HANDLE FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData)
name++;
pFileSearch->lpPattern[0] = '*';
- s
trcpy(lpFindFileData->cFileName
, name);
+ s
printf_s(lpFindFileData->cFileName, ARRAYSIZE(lpFindFileData->cFileName), "%s"
, name);
}
return (HANDLE) pFileSearch;