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;