Backup errno in net_would_block

Safe and restore the value of errno in net_would_block to be sure
it's not affected by the guarding call to fcntl. Fixes #845.
This commit is contained in:
Hanno Becker 2017-05-04 13:39:22 +01:00
parent b65c2be5f1
commit a6ed9c5429
2 changed files with 12 additions and 1 deletions

View file

@ -1,5 +1,11 @@
mbed TLS ChangeLog (Sorted per branch, date)
= mbed TLS x.x.x branch released xxxx-xx-xx
Bugfix
* Fix net_would_block to avoid modification by errno through fcntl call.
Found by nkolban. Fixes #845.
= mbed TLS 2.4.2 branch released 2017-03-08
Security