]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(rss): fix msg deserialization bugs in comms
authorDavid Vincze <david.vincze@arm.com>
Mon, 6 Mar 2023 14:02:08 +0000 (15:02 +0100)
committerDavid Vincze <david.vincze@arm.com>
Mon, 6 Mar 2023 14:34:09 +0000 (15:34 +0100)
commitdda052851a78fad150b6565ea4bb75644bd37dce
tree658d04ede40222566a1372dbe8f598db5e691955
parent567316071740a5196f79829b713a958c97835276
fix(rss): fix msg deserialization bugs in comms

-fix1: size of struct instead of pointer during reply_size check
-fix2: update the out_vec length with the actual length from reply
       message (e.g. in case of an output buffer, the returned output
       data length remained the size of the buffer and was not updated
       with the size of the actual data in it)

Change-Id: Ibed5520ca1fb05df358de4bdf85ace219183866c
Signed-off-by: David Vincze <david.vincze@arm.com>
drivers/arm/rss/rss_comms_protocol_embed.c