已关闭
API函数ksba_dn_der2str存在内存泄漏问题 #19
yixiangzhike创建于 3月10日关闭于 3月11日
3月10日 添加了label:sig/Base-service
openeuler-ci-bot
3月10日 评论:
3月10日 评论:
Welcome To openEuler Community
Hey @yixiangzhike1 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.
Contact Guide
If you have any questions, please contact the SIG: Base-service ,
and any of the maintainers: @dillon_chen, @licihua, @overweight, @shenyangyang, @zhujianwei001 ,
and any of the committers: @houmingyong, @jiayi0118, @qq_28851361 .


3月10日 修改了issue 的描述
3月10日 关联了pull request:fix a memory leak in _ksba_ber_decoder_decode
3月10日 关联了pull request:fix a memory leak in _ksba_ber_decoder_decode
3月10日 关联了pull request:fix a memory leak in _ksba_ber_decoder_decode
3月11日 关联了pull request:[sync] PR-53: fix a memory leak in _ksba_ber_decoder_decode
3月11日 关联了pull request:[sync] PR-53: fix a memory leak in _ksba_ber_decoder_decode
3月11日 关联了pull request:[sync] PR-53: fix a memory leak in _ksba_ber_decoder_decode
3月11日 关联了pull request:[sync] PR-53: fix a memory leak in _ksba_ber_decoder_decode
3月11日 关闭了 issue
3月11日 issue状态由 待办的 改变为 已完成
3月13日 修改了issue 的描述
3月13日 修改了issue 的描述
复现步骤:
while(loop++ < 10000) {
ksba_dn_der2str (buf, strlen(buf), &string);
}
后台执行编译后程序
./Test_leak > /dev/null 2>&1 &
采集Test_leak进程对应RSS数据
while true; do sleep 1; pmap -x `pidof Test_leak` | grep "total kB" | awk '{print $4;}'; done
输出数据如下,RSS持续增长