diff --git a/aide-db-problem.patch b/aide-db-problem.patch new file mode 100644 index 0000000..1994284 --- /dev/null +++ b/aide-db-problem.patch @@ -0,0 +1,11 @@ +diff -up aide-0.16/src/commandconf.c.rhcase03736158 aide-0.16/src/commandconf.c +--- aide-0.16/src/commandconf.c.rhcase03736158 2024-03-01 11:06:35.305712992 +0100 ++++ aide-0.16/src/commandconf.c 2024-03-01 11:08:07.726499878 +0100 +@@ -306,6 +306,7 @@ int db_input_wrapper(char* buf, int max_ + retval=0; + buf[0]='\0'; + }else { ++ buf[0]='\0'; + if((retval=gzread(*db_gzp,buf,max_size))<0){ + error(0,_("gzread() failed: gzerr=%s!\n"),gzerror(*db_gzp,&err)); + retval=0; diff --git a/aide.spec b/aide.spec index 7bdd197..08fb783 100644 --- a/aide.spec +++ b/aide.spec @@ -1,7 +1,7 @@ Summary: Intrusion detection environment Name: aide Version: 0.16 -Release: 100%{?dist} +Release: 101%{?dist} URL: http://sourceforge.net/projects/aide License: GPLv2+ @@ -38,8 +38,9 @@ Patch6: coverity.patch Patch7: aide-0.16-crash-elf.patch Patch8: aide-configure.patch Patch9: aide-static-analysis.patch - Patch10: aide-0.16-CVE-2021-45417.patch +Patch11: aide-db-problem.patch + %description AIDE (Advanced Intrusion Detection Environment) is a file integrity @@ -86,6 +87,11 @@ mkdir -p -m0700 %{buildroot}%{_localstatedir}/lib/aide %dir %attr(0700,root,root) %{_localstatedir}/log/aide %changelog +* Fri May 17 2024 Radovan Sroka - 0.16-23 +RHEL 9.5.0 ERRATUM +- aide fails with "Not enough parameters in db:15384. Trying to continue." unexpectedly +Resolves: RHEL-27606 + * Mon Jan 24 2022 Radovan Sroka - 0.16-100 - backport fix for CVE-2021-45417 Resolves: rhbz#2041950