提交 947f9da1 编写于 作者: D Dmitry-Me 提交者: Rich Salz

Fix potential buffer overrun

Signed-off-by: NRich Salz <rsalz@openssl.org>
Reviewed-by: NKurt Roeckx <kurt@openssl.org>
上级 c86d1f19
......@@ -265,7 +265,7 @@ static char *dl_merger(DSO *dso, const char *filespec1, const char *filespec2)
spec2len = (filespec2 ? strlen(filespec2) : 0);
len = spec2len + (filespec1 ? strlen(filespec1) : 0);
if (filespec2 && filespec2[spec2len - 1] == '/') {
if (spec2len && filespec2[spec2len - 1] == '/') {
spec2len--;
len--;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册