From: E. Scott Daniels Date: Fri, 1 Nov 2019 13:24:08 +0000 (-0400) Subject: Prevent message truncation by populate function X-Git-Tag: python-2.0.0~3 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=f1d8288e7a8d73e5d7441269a5d258eb90ed389e;hp=f1d8288e7a8d73e5d7441269a5d258eb90ed389e;p=ric-plt%2Flib%2Frmr.git Prevent message truncation by populate function An attempt to write a payload to a received message in prep for returning the response to sender could result in the response message being truncated if it is longer than the payload in the received message. The populate and set length function was modified to ensure that the target message has a payload length which is not less than the message being added; if it does the message payload is reallocated through RMR. This change requires RMR version 1.10.2 or later. CP: dev-b Cherry-Id: I8fa26eaace814344481c2df715c7c2486a38f6df duplicated CID from an abandoned change Signed-off-by: E. Scott Daniels Change-Id: Iaf032cb0b5feb14c714077430e1962107eae8a42 ---