!63 [sync] PR-62: bugfix: PWR_PROC_QueryProcs 和 PWR_SYS_SetPowerState

From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
This commit is contained in:
openeuler-ci-bot 2024-06-17 02:21:18 +00:00 committed by Gitee
commit db7ccddf18
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: powerapi
Version: 1.1.0
Release: 5
Release: 6
Summary: The ability to support openEuler power consumption control.
License: MulanPSL-2.0
@ -68,6 +68,10 @@ systemctl stop pwrapis
%{_sysconfdir}/systemd/system/pwrapis.service
%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
- Bug fix: SIGPIPE cause powerapi server exit.
- Bug fix: pstree command is too slow to get all pid.