WindhoverLabs / airliner

7 stars 3 forks source link

CF App passed wrong parameter type when calling m__append_n_bytes() #323

Open ynielson opened 1 year ago

ynielson commented 1 year ago

CF App passed wrong parameter type when copying the Source Entity ID in function, mgen_pdu_header() in pdu.c, it passed the **(double pointer) type for argument 2 when calling the function, mappend_n_bytes(). &hdr.trans.source_id.value

The app passed same wrong type when copying the Destination Entity ID in the same function. &hdr.dest_id.value for argument 2 when calling the function, m__append_n_bytes().

This didn't cause any obvious error so far.