From: aa7133@att.com Date: Tue, 31 Mar 2020 20:20:16 +0000 (+0300) Subject: version 4.0.7 X-Git-Tag: 5.4.8~64 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=82d36ed9ecfa24f0762da6d0065db0ce3dffd714;p=ric-plt%2Fe2.git version 4.0.7 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 --- diff --git a/RIC-E2-TERMINATION/container-tag.yaml b/RIC-E2-TERMINATION/container-tag.yaml index 608a043..e99db30 100644 --- a/RIC-E2-TERMINATION/container-tag.yaml +++ b/RIC-E2-TERMINATION/container-tag.yaml @@ -1,3 +1,3 @@ # 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 diff --git a/RIC-E2-TERMINATION/sctpThread.cpp b/RIC-E2-TERMINATION/sctpThread.cpp index f46bef8..b1dabdb 100644 --- a/RIC-E2-TERMINATION/sctpThread.cpp +++ b/RIC-E2-TERMINATION/sctpThread.cpp @@ -1361,7 +1361,7 @@ void asnInitiatingRequest(E2AP_PDU_t *pdu, 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;