!57 [sync] PR-56: 【Bug Fix】修复内存问题/关键字查询进程问题/瓦特调度第一次获取状态失败问题

From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
This commit is contained in:
openeuler-ci-bot 2024-06-04 06:25:49 +00:00 committed by Gitee
commit 094202af9f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 7 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: 3 Release: 4
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,12 @@ systemctl stop pwrapis
%{_sysconfdir}/systemd/system/pwrapis.service %{_sysconfdir}/systemd/system/pwrapis.service
%changelog %changelog
* Mon Jun 3 2024 heppen <hepeng68@huawei.com> - 1.1.0-4
- Bug fix: memcpy null pointer, array out of bounds, struct align.
- Bug fix: get watt state will failed at the first time.
- Bug fix: use process name to query pid but return all pids.
- Bug fix: mismatch fopen/pclose and popen/fclose, useless if statement.
* Wed May 29 2024 heppen <hepeng68@huawei.com> - 1.1.0-3 * Wed May 29 2024 heppen <hepeng68@huawei.com> - 1.1.0-3
- Bug fix: fix build warning. - Bug fix: fix build warning.
- Bug fix: export PWR_SYS_GetRtPowerInfo. - Bug fix: export PWR_SYS_GetRtPowerInfo.