Compare commits
No commits in common. 'c9' and 'i9c-beta' have entirely different histories.
@ -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;
|
@ -0,0 +1,21 @@
|
|||||||
|
diff -Naur aide-0.16.orig/src/db_disk.c aide-0.16/src/db_disk.c
|
||||||
|
--- aide-0.16.orig/src/db_disk.c 2024-03-11 16:45:06.594013966 -0400
|
||||||
|
+++ aide-0.16/src/db_disk.c 2024-03-11 16:45:06.584013966 -0400
|
||||||
|
@@ -209,7 +209,7 @@
|
||||||
|
fullname=malloc((conf->root_prefix_length+2)*sizeof(char));
|
||||||
|
strcpy(fullname, conf->root_prefix);
|
||||||
|
strcat (fullname, "/");
|
||||||
|
- if (!get_file_status(&fullname[conf->root_prefix_length], &fs)) {
|
||||||
|
+ if (!get_file_status(fullname, &fs)) {
|
||||||
|
add = check_rxtree (&fullname[conf->root_prefix_length], conf->tree, &attr, fs.st_mode);
|
||||||
|
error (240, "%s match=%d, tree=%p, attr=%llu\n", &fullname[conf->root_prefix_length], add,
|
||||||
|
conf->tree, attr);
|
||||||
|
@@ -255,7 +255,7 @@
|
||||||
|
If not call, db_readline_disk again...
|
||||||
|
*/
|
||||||
|
|
||||||
|
- if (get_file_status(&fullname[conf->root_prefix_length], &fs)) {
|
||||||
|
+ if (get_file_status(fullname, &fs)) {
|
||||||
|
free (fullname);
|
||||||
|
goto recursion;
|
||||||
|
}
|
Loading…
Reference in new issue