* smallprint.cc (__small_vsprintf): Use HEAP_NOTHEAP for type.
* strfuncs.cc (sys_wcstombs_alloc): Guard use of ccalloc to !__OUTSIDE_CYGWIN__ for use in cygserver. (sys_mbstowcs_alloc): Ditto.
This commit is contained in:
@@ -197,7 +197,7 @@ __small_vsprintf (char *dst, const char *fmt, va_list ap)
|
||||
{
|
||||
char *tmp;
|
||||
|
||||
if (!sys_wcstombs_alloc (&tmp, PATH_MAX, us->Buffer,
|
||||
if (!sys_wcstombs_alloc (&tmp, HEAP_NOTHEAP, us->Buffer,
|
||||
us->Length / sizeof (WCHAR)))
|
||||
{
|
||||
s = "invalid UNICODE_STRING";
|
||||
|
Reference in New Issue
Block a user