Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
4579dd5d
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
9
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4579dd5d
编写于
10月 02, 1999
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix for base64 BIO decoding bug
上级
c91e1259
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
16 addition
and
3 deletion
+16
-3
CHANGES
CHANGES
+14
-0
STATUS
STATUS
+1
-2
crypto/evp/bio_b64.c
crypto/evp/bio_b64.c
+1
-1
未找到文件。
CHANGES
浏览文件 @
4579dd5d
...
...
@@ -4,6 +4,20 @@
Changes between 0.9.4 and 0.9.5 [xx XXX 1999]
*) Fix for base64 decode bug. When a base64 bio reads only one line of
data and it contains EOF it will end up returning an error. This is
caused by input 46 bytes long. The cause is due to the way base64
BIOs find the start of base64 encoded data. They do this by trying a
trial decode on each line until they find one that works. When they
do a flag is set and it starts again knowing it can pass all the
data directly through the decoder. Unfortunately it doesn't reset
the context it uses. This means that if EOF is reached an attempt
is made to pass two EOFs through the context and this causes the
resulting error. This can also cause other problems as well. As is
usual with these problems it takes *ages* to find and the fix is
trivial: move one line.
[Steve Henson, reported by ian@uns.ns.ac.yu (Ivan Nejgebauer) ]
*) Ugly workaround to get s_client and s_server working under Windows. The
old code wouldn't work because it needed to select() on sockets and the
tty (for keypresses and to see if data could be written). Win32 only
...
...
STATUS
浏览文件 @
4579dd5d
OpenSSL STATUS Last modified at
______________ $Date: 1999/
09/30 08:32:54
$
______________ $Date: 1999/
10/02 13:33:03
$
DEVELOPMENT STATE
...
...
@@ -60,7 +60,6 @@
NEEDS PATCH
o Arne Ansper: d2i_ASN1_bytes bug
o base64 decoding bug (Ivan Nejgebauer)
o salzr@certco.com (Rich Salz): Bug in X509_name_print
<29E0A6D39ABED111A36000A0C99609CA2C2BA4@macertco-srv1.ma.certco.com>
o $(PERL) in */Makefile.ssl
...
...
crypto/evp/bio_b64.c
浏览文件 @
4579dd5d
...
...
@@ -237,8 +237,8 @@ static int b64_read(BIO *b, char *out, int outl)
&
(
ctx
->
tmp
[
0
]));
for
(
x
=
0
;
x
<
i
;
x
++
)
ctx
->
tmp
[
x
]
=
p
[
x
];
EVP_DecodeInit
(
&
ctx
->
base64
);
}
EVP_DecodeInit
(
&
ctx
->
base64
);
ctx
->
start
=
0
;
break
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录