version 4.0.7 86/3086/1
authoraa7133@att.com <aa7133@att.com>
Tue, 31 Mar 2020 20:20:16 +0000 (23:20 +0300)
committeraa7133@att.com <aa7133@att.com>
Tue, 31 Mar 2020 20:20:23 +0000 (23:20 +0300)
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>
RIC-E2-TERMINATION/container-tag.yaml
RIC-E2-TERMINATION/sctpThread.cpp

index 608a043..e99db30 100644 (file)
@@ -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
index f46bef8..b1dabdb 100644 (file)
@@ -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;