{"action":"opened","issue":{"url":"https://api.github.com/repos/ktls/af_ktls/issues/56","repository_url":"https://api.github.com/repos/ktls/af_ktls","labels_url":"https://api.github.com/repos/ktls/af_ktls/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/ktls/af_ktls/issues/56/comments","events_url":"https://api.github.com/repos/ktls/af_ktls/issues/56/events","html_url":"https://github.com/ktls/af_ktls/issues/56","id":161802007,"number":56,"title":"page fault when decrypting to user buffer","user":{"login":"lancerchao","id":7632186,"avatar_url":"https://avatars.githubusercontent.com/u/7632186?v=3","gravatar_id":"","url":"https://api.github.com/users/lancerchao","html_url":"https://github.com/lancerchao","followers_url":"https://api.github.com/users/lancerchao/followers","following_url":"https://api.github.com/users/lancerchao/following{/other_user}","gists_url":"https://api.github.com/users/lancerchao/gists{/gist_id}","starred_url":"https://api.github.com/users/lancerchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lancerchao/subscriptions","organizations_url":"https://api.github.com/users/lancerchao/orgs","repos_url":"https://api.github.com/users/lancerchao/repos","events_url":"https://api.github.com/users/lancerchao/events{/privacy}","received_events_url":"https://api.github.com/users/lancerchao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-22T22:32:02Z","updated_at":"2016-06-22T22:32:02Z","closed_at":null,"body":"If a client makes a syscall like this:\r\n'''    \r\nchar recv_mem[1000];\r\nrecv(fd, recv_mem, TLS_MAX_PAYLOAD_LENGTH, 0);\r\n'''\r\nAnd the decryption is done straight to user memory (the else{} in tls_recvmsg) a page fault is triggered\r\nhttp://pastebin.com/XjGu0dHx"}}
{"actor":{"display_login":"lancerchao"}}