!66 [sync] PR-64: bug fix: expand msg buffer, wrong code to check if buff is full

From: @openeuler-sync-bot 
Reviewed-by: @queyanwen 
Signed-off-by: @queyanwen
This commit is contained in:
openeuler-ci-bot 2024-06-20 15:57:01 +00:00 committed by Gitee
commit e08b674f34
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 7 additions and 2 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: powerapi Name: powerapi
Version: 1.1.0 Version: 1.1.0
Release: 6 Release: 8
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
@ -65,9 +65,14 @@ systemctl stop pwrapis
%{_sysconfdir}/sysconfig/pwrapis/* %{_sysconfdir}/sysconfig/pwrapis/*
%dir %{_includedir}/pwrapic %dir %{_includedir}/pwrapic
%{_includedir}/pwrapic/* %{_includedir}/pwrapic/*
%{_sysconfdir}/systemd/system/pwrapis.service
%changelog %changelog
* Thu Jun 20 2024 heppen <hepeng68@huawei.com> - 1.1.0-8
- Bug fix: Delete the unnecessary comma in the configuration file
* Thu Jun 18 2024 heppen <hepeng68@huawei.com> - 1.1.0-7
- Bug fix: expand msg buffer, wrong code of check if buffer full.
* Wed Jun 12 2024 Zihao Xue <xuezihao@huawei.com> - 1.1.0-6 * 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: heap buffer overflow caused by sending incomplete strings.
- Bug fix: too long strings into QueryProcs causes services broke down. - Bug fix: too long strings into QueryProcs causes services broke down.