ReFix Coverity Scan CID 340196 (Using uninitialized value prose_addr_len when calling recvfrom.)

This commit is contained in:
SAWADA Kentaro
2019-05-29 15:25:38 +09:00
parent a8bd28cc8a
commit 4acb50f99e
+1 -1
View File
@@ -499,7 +499,7 @@ void pdcp_fifo_read_input_sdus_frompc5s (const protocol_ctxt_t *const ctxt_pP)
(void)data_p;
pdcp_t *pdcp_p = NULL;
//TTN for D2D (PC5S)
int prose_addr_len = 0;
int prose_addr_len = sizeof(prose_pdcp_addr);
char send_buf[BUFSIZE], receive_buf[BUFSIZE];
//int optval;
int bytes_received;