提交 b5a223cd authored 作者: Michael Jerris's avatar Michael Jerris

CID:1215201 Explicit null dereferenced

上级 c768e4b6
Tue May 20 23:17:55 CDT 2014 Thu May 22 15:39:33 UTC 2014
...@@ -368,7 +368,6 @@ static int tport_ws_init_primary_secure(tport_primary_t *pri, ...@@ -368,7 +368,6 @@ static int tport_ws_init_primary_secure(tport_primary_t *pri,
chain = su_sprintf(autohome, "%s/%s", path, "ca-bundle.crt"); chain = su_sprintf(autohome, "%s/%s", path, "ca-bundle.crt");
if (access(chain, R_OK) != 0) chain = NULL; if (access(chain, R_OK) != 0) chain = NULL;
if (access(cert, R_OK) != 0) cert = NULL;
if ( !key ) key = su_sprintf(autohome, "%s/%s", path, "wss.pem"); if ( !key ) key = su_sprintf(autohome, "%s/%s", path, "wss.pem");
if ( !cert ) cert = su_sprintf(autohome, "%s/%s", path, "wss.pem"); if ( !cert ) cert = su_sprintf(autohome, "%s/%s", path, "wss.pem");
if ( !chain ) chain = su_sprintf(autohome, "%s/%s", path, "wss.pem"); if ( !chain ) chain = su_sprintf(autohome, "%s/%s", path, "wss.pem");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论