-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 0.4.2
-
Component/s: Networking, Security
-
Labels:None
-
Module:
-
Sprint:May 2016
We somehow get a received > data_size situation, so we overrun the data buffer.
The reason is that schan_imp_recv's check for ROS_SCHAN_IS_BLOCKING is broken – it also triggers for error codes such as MBEDTLS_ERR_SSL_WANT_READ or MBEDTLS_ERR_SSL_WANT_WRITE.
Looking at the function, the MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY also seems broken – it should probably return a length of 0.
- relates to
-
CORE-10658 PATCH [RAPPS] database - uTorrent broken
-
- Resolved
-