Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 diff --git a/src/libxslt/security.c b/src/libxslt/security.c | |
| 2 index 89de90bd3f1e..965175f79ca4 100644 | |
| 3 --- src/libxslt/security.c | |
| 4 +++ src/libxslt/security.c | |
| 5 @@ -282,7 +282,7 @@ xsltCheckFilename (const char *path) | |
| 6 #if defined(WIN32) && !defined(__CYGWIN__) | |
| 7 DWORD dwAttrs; | |
| 8 | |
| 9 - dwAttrs = GetFileAttributes(path); | |
| 10 + dwAttrs = GetFileAttributesA(path); | |
|
yosin_UTC9
2017/05/09 01:19:10
(^_^)
| |
| 11 if (dwAttrs != INVALID_FILE_ATTRIBUTES) { | |
| 12 if (dwAttrs & FILE_ATTRIBUTE_DIRECTORY) { | |
| 13 return 2; | |
| OLD | NEW |