mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
[VARC] Fix uninitialized value
Fixes https://oss-fuzz.com/testcase-detail/6089638800588800
This commit is contained in:
1 parent
fcbf14a0e5
commit
3c4cb472d1
1 file changed
+1
-1
@@ -202,7 +202,7 @@ VarComponent::get_path_at (hb_font_t *font,
|
||||
unsigned axisIndicesIndex;
|
||||
READ_UINT32VAR (axisIndicesIndex);
|
||||
axisIndices.extend ((&VARC+VARC.axisIndicesList)[axisIndicesIndex]);
|
||||
axisValues.resize (axisIndices.length, false);
|
||||
axisValues.resize (axisIndices.length);
|
||||
const HBUINT8 *p = (const HBUINT8 *) record;
|
||||
TupleValues::decompile (p, axisValues, (const HBUINT8 *) end);
|
||||
record = (const unsigned char *) p;
|
||||
|
||||
Reference in new issue
Block a user