kasjer opened a new pull request, #2883:
URL: https://github.com/apache/mynewt-core/pull/2883

   tcp_console_flush was being called from main task
   via tx_flush_event and from tcpip task that called tcp_console_writable.
   It this happened at the same time tcp_console_out_buf could be double freed.
   
   Now flushing happens only from tcpip task and tcp_console_out_buf is handed 
over to tcpip thread in critical section to prevent race.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to