9fe78cd264
aide-0.10-0.fdr.0.1.cvs20031104.rh90.src.rpm 0.10-0.fdr.0.1.cvs20031104 - Only tar.gz available upstream. - byacc not needed when bison -y is available. - Installed Russian manual pages. - Updated with changes from CVS (2003-11-04). - getopt patch merged upstream. - bison-1.35 patch incorporated upstream. 0.9-0.fdr.0.2.20030902 - Added fixes for further memleaks. 0.9-0.fdr.0.1.20030902 - Initial package version.
21 lines
524 B
Diff
21 lines
524 B
Diff
--- src/db_disk.c.orig 2003-01-16 11:37:34.000000000 +0100
|
|
+++ src/db_disk.c 2003-09-09 12:58:45.000000000 +0200
|
|
@@ -178,7 +178,8 @@
|
|
|
|
/* root needs special handling */
|
|
if(!root_handled){
|
|
- fullname="/";
|
|
+ fullname=malloc(1+1);
|
|
+ strcpy(fullname,"/");
|
|
add=check_rxtree(fullname,conf->tree,&attr);
|
|
error(240,"%s match=%d, tree=%i, attr=%i\n",fullname, add,conf->tree,attr);
|
|
|
|
@@ -200,6 +201,8 @@
|
|
fil=NULL;
|
|
}
|
|
}
|
|
+ if (!add)
|
|
+ free(fullname);
|
|
root_handled=1;
|
|
}
|
|
rec
|