Closed
API函数ksba_dn_der2str存在内存泄漏问题 #19
yixiangzhikeAdd on Mar 10Closed at Mar 11
Mar 10 Added label: sig/Base-service
openeuler-ci-bot
Mar 10 Comments:
Mar 10 Comments:
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 .


Mar 10 Modify description of issue
Mar 10 Associated pull request
Mar 10 Associated pull request
Mar 10 Associated pull request
Mar 11 Associated pull request
Mar 11 Associated pull request
Mar 11 Associated pull request
Mar 11 Associated pull request
Mar 11 Close issue
Mar 11 changed custom state from 待办的 to 已完成
Mar 13 Modify description of issue
Mar 13 Modify description of 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持续增长