mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[RTL]
- Avoid dereferencing a NULL pointer in RtlIsTextUnicode CORE-12027 #resolve svn path=/trunk/; revision=72797
This commit is contained in:
@@ -1367,7 +1367,7 @@ RtlIsTextUnicode(CONST VOID* buf, INT len, INT* pf)
|
||||
else
|
||||
weight = 1;
|
||||
|
||||
if (*pf && (*pf & IS_TEXT_UNICODE_DBCS_LEADBYTE))
|
||||
if (flags & IS_TEXT_UNICODE_DBCS_LEADBYTE)
|
||||
out_flags |= IS_TEXT_UNICODE_DBCS_LEADBYTE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user