mirror of
https://github.com/acpica/acpica/
synced 2025-02-25 18:04:08 +03:00
iASL: Fix incorrect memory allocation
Was using UtLocalCalloc instead of UtStringCacheCalloc. Reported by Colin Ian King. ACPICA BZ 1416
This commit is contained in:
parent
faa9fdfbd0
commit
8232c29974
@ -356,7 +356,7 @@ UtCreateEscapeSequences (
|
||||
|
||||
/* New string buffer, 3 extra chars per escape (4 total) */
|
||||
|
||||
OutString = UtLocalCalloc (InStringLength + (EscapeCount * 3));
|
||||
OutString = UtStringCacheCalloc (InStringLength + (EscapeCount * 3));
|
||||
OutStringPtr = OutString;
|
||||
|
||||
/* Convert non-ascii or non-printable chars to escape sequences */
|
||||
|
Loading…
x
Reference in New Issue
Block a user