bug fix: expand msg buffer, wrong code to check if buff is full

(cherry picked from commit 5cb61535379864a4819ae0401ba7aa08bb12daac)
This commit is contained in:
heppen 2024-06-18 11:37:40 +08:00 committed by openeuler-sync-bot
parent db7ccddf18
commit 4d59cfb3ef
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: powerapi
Version: 1.1.0
Release: 6
Release: 7
Summary: The ability to support openEuler power consumption control.
License: MulanPSL-2.0
@ -68,6 +68,9 @@ systemctl stop pwrapis
%{_sysconfdir}/systemd/system/pwrapis.service
%changelog
* 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
- Bug fix: heap buffer overflow caused by sending incomplete strings.
- Bug fix: too long strings into QueryProcs causes services broke down.