mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[RAPPS_NEW] Use the actual buffer size instead of hardcoding a random number. CID 1363551
svn path=/trunk/; revision=71933
This commit is contained in:
parent
1aec6625e9
commit
b53f38a463
1 changed files with 2 additions and 2 deletions
|
@ -18,11 +18,11 @@
|
|||
} \
|
||||
|
||||
#define GET_STRING1(a, b) \
|
||||
if (!ParserGetString(a, b, MAX_PATH, FindFileData.cFileName)) \
|
||||
if (!ParserGetString(a, b, _countof(b), FindFileData.cFileName)) \
|
||||
continue;
|
||||
|
||||
#define GET_STRING2(a, b) \
|
||||
if (!ParserGetString(a, b, MAX_PATH, FindFileData.cFileName)) \
|
||||
if (!ParserGetString(a, b, _countof(b), FindFileData.cFileName)) \
|
||||
b[0] = '\0';
|
||||
|
||||
LIST_ENTRY CachedEntriesHead = { &CachedEntriesHead, &CachedEntriesHead };
|
||||
|
|
Loading…
Reference in a new issue