Missing index check on desc_table array access in runtime deserialization pony_deserialise_offset #4297
Labels
bug
Something isn't working
needs discussion
Needs to be discussed further
needs investigation
This needs to be looked into before its "ready for work"
Inside
pony_deserialise_offset
, If no type is defined for the deserialisation, the type is read from the serialized stream:ponyc/src/libponyrt/gc/serialise.c
Lines 281 to 282 in b1fe1a0
The index
id
should be validated to be lower than the value ofdesc_table_size
.Note:
The text was updated successfully, but these errors were encountered: