weston-embedded/uC-TCP-IP

NetSock_Accept may release globalLock but not Acquire it

jameszxj opened this issue · 2 comments

In function NetSock_Accept(),when check Validate initial addr len (line:4554-4588) error, the function
exit with Net_GlobalLockRelease() from label exit_err_acccept,but the function did not call Net_GlobalLockAcquire() before.

Thanks, jameszxj

This yields no functional issues but it will be addressed.

Duplicate of #13