fix two bugs

(cherry picked from commit 1a7292e02551952c723e1f49f60a1580b54f57a8)
This commit is contained in:
Zihao Xue 2024-06-12 19:48:34 +08:00 committed by openeuler-sync-bot
parent 4c2d458ca7
commit bc97e0191e
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: powerapi Name: powerapi
Version: 1.1.0 Version: 1.1.0
Release: 5 Release: 6
Summary: The ability to support openEuler power consumption control. Summary: The ability to support openEuler power consumption control.
License: MulanPSL-2.0 License: MulanPSL-2.0
@ -68,6 +68,10 @@ systemctl stop pwrapis
%{_sysconfdir}/systemd/system/pwrapis.service %{_sysconfdir}/systemd/system/pwrapis.service
%changelog %changelog
* Wed Jun 12 2024 Zihao Xue <xuezihao@huawei.com> - 1.1.0-6
- Bug fix: heap buffer overflow caused by sending incomplete strings.
- Bug fix: too long strings into QueryProcs causes services broke down.
* Thu Jun 6 2024 heppen <hepeng68@huawei.com> - 1.1.0-5 * Thu Jun 6 2024 heppen <hepeng68@huawei.com> - 1.1.0-5
- Bug fix: SIGPIPE cause powerapi server exit. - Bug fix: SIGPIPE cause powerapi server exit.
- Bug fix: pstree command is too slow to get all pid. - Bug fix: pstree command is too slow to get all pid.