sslab-gatech / opensgx

OpenSGX
Other
291 stars 80 forks source link

sgx_accept crashes if passed NULL pointer #13

Open jonhoo opened 8 years ago

jonhoo commented 8 years ago

sgx_accept will crash with a segmentation fault if address or address_len is NULL (which they are permitted to be), as it will unconditionally call memcpy on those arguments.