{"action":"created","issue":{"url":"https://api.github.com/repos/guanzhi/GmSSL/issues/571","repository_url":"https://api.github.com/repos/guanzhi/GmSSL","labels_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/571/comments","events_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/571/events","html_url":"https://github.com/guanzhi/GmSSL/pull/571","id":353312382,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMzk1NTQ0","number":571,"title":"sm2: fix cv free error, in o2i_SM2CiphertextValue() function","user":{"login":"xianrenqiu","id":9956984,"node_id":"MDQ6VXNlcjk5NTY5ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/9956984?v=4","gravatar_id":"","url":"https://api.github.com/users/xianrenqiu","html_url":"https://github.com/xianrenqiu","followers_url":"https://api.github.com/users/xianrenqiu/followers","following_url":"https://api.github.com/users/xianrenqiu/following{/other_user}","gists_url":"https://api.github.com/users/xianrenqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/xianrenqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xianrenqiu/subscriptions","organizations_url":"https://api.github.com/users/xianrenqiu/orgs","repos_url":"https://api.github.com/users/xianrenqiu/repos","events_url":"https://api.github.com/users/xianrenqiu/events{/privacy}","received_events_url":"https://api.github.com/users/xianrenqiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-23T10:05:29Z","updated_at":"2018-10-22T08:32:32Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/guanzhi/GmSSL/pulls/571","html_url":"https://github.com/guanzhi/GmSSL/pull/571","diff_url":"https://github.com/guanzhi/GmSSL/pull/571.diff","patch_url":"https://github.com/guanzhi/GmSSL/pull/571.patch"},"body":"SM2 密文格式转换接口 `o2i_SM2CiphertextValue()` 中对 `cv` 的释放似乎缺少判断，释放的条件为：\r\n\r\n1. cv 为接口内部分配的资源\r\n2. 处理过程中发生错误\r\n\r\n其他条件则不对 cv 进行释放操作，比如接口外完成的 cv 申请.\r\n"},"comment":{"url":"https://api.github.com/repos/guanzhi/GmSSL/issues/comments/431772629","html_url":"https://github.com/guanzhi/GmSSL/pull/571#issuecomment-431772629","issue_url":"https://api.github.com/repos/guanzhi/GmSSL/issues/571","id":431772629,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTc3MjYyOQ==","user":{"login":"lennie6063","id":29707313,"node_id":"MDQ6VXNlcjI5NzA3MzEz","avatar_url":"https://avatars2.githubusercontent.com/u/29707313?v=4","gravatar_id":"","url":"https://api.github.com/users/lennie6063","html_url":"https://github.com/lennie6063","followers_url":"https://api.github.com/users/lennie6063/followers","following_url":"https://api.github.com/users/lennie6063/following{/other_user}","gists_url":"https://api.github.com/users/lennie6063/gists{/gist_id}","starred_url":"https://api.github.com/users/lennie6063/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennie6063/subscriptions","organizations_url":"https://api.github.com/users/lennie6063/orgs","repos_url":"https://api.github.com/users/lennie6063/repos","events_url":"https://api.github.com/users/lennie6063/events{/privacy}","received_events_url":"https://api.github.com/users/lennie6063/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T08:32:31Z","updated_at":"2018-10-22T08:32:31Z","author_association":"NONE","body":"![image](https://user-images.githubusercontent.com/29707313/47283745-2188b780-d617-11e8-9e0e-b91b38e290e4.png)\r\n\r\n输出C3提示段错误，请教一下大哥什么原因，非常感谢"}}
{"actor":{"display_login":"lennie6063"}}