Fix bug When in debug level logging pointing to wrong pointer cause core dump in the call to translate ASN for E2SM
Change-Id: Ie0d604a906f29ff88652d224131d20579fa3fefc
Signed-off-by: aa7133@att.com <aa7133@att.com>
# The Jenkins job requires a tag to build the Docker image.
# Global-JJB script assumes this file is in the repo root.
-tag: 4.0.6
+tag: 4.0.7
char *printBuffer;
size_t size;
FILE *stream = open_memstream(&printBuffer, &size);
- asn_fprint(stream, &asn_DEF_E2SM_gNB_NRT_RANfunction_Definition, pdu);
+ asn_fprint(stream, &asn_DEF_E2SM_gNB_NRT_RANfunction_Definition, ranFunDef);
mdclog_write(MDCLOG_DEBUG, "Encoding E2AP PDU past : %s", printBuffer);
}
auto xml_buffer_size = RECEIVE_SCTP_BUFFER_SIZE * 2;