aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-04-17 15:25:09 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-04-17 15:25:09 +0000
commite6c608f0724a988c0d7dbe3d278e10c0047093b5 (patch)
tree4466aec88fbd91453a4bc22b0a16548036f608f3
parenta67709643cb97efa7e9877d931757f8740497a79 (diff)
downloadmsec-e6c608f0724a988c0d7dbe3d278e10c0047093b5.tar
msec-e6c608f0724a988c0d7dbe3d278e10c0047093b5.tar.gz
msec-e6c608f0724a988c0d7dbe3d278e10c0047093b5.tar.bz2
msec-e6c608f0724a988c0d7dbe3d278e10c0047093b5.tar.xz
msec-e6c608f0724a988c0d7dbe3d278e10c0047093b5.zip
*** empty log message ***
-rw-r--r--ChangeLog1
-rw-r--r--msec.spec1
-rw-r--r--src/msec_find/find.c4
3 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c0fc0a4..9790200 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
* Updated the doc.
* perm.[0-5] : /var/tmp : 1777
* file_perm.sh : output to /dev/null
+ * Included patch to msec_find from Thomas Poindessous.
2000-04-14 Yoann Vandoorselaere <yoann@mandrakesoft.com>
* Modify zprofile.
diff --git a/msec.spec b/msec.spec
index 4eb109b..fec2d41 100644
--- a/msec.spec
+++ b/msec.spec
@@ -51,6 +51,7 @@ rm -rf $RPM_BUILD_ROOT
- updated documentation.
- file_perm.sh : bug fix + output to /dev/null.
- include /var/tmp in perm.[0-5].
+- Patch to msec_find from Thomas Poindessous.
* Fri Apr 14 2000 Yoann Vandoorselaere <yoann@mandrakesoft.com> 0.12-1mdk
- Modify zprofile.
diff --git a/src/msec_find/find.c b/src/msec_find/find.c
index c60de21..6b20fb0 100644
--- a/src/msec_find/find.c
+++ b/src/msec_find/find.c
@@ -120,7 +120,7 @@ static int traverse(const char *file, const struct stat *sb, int flag, struct FT
/*
* Unowned group check.
*/
- g_nss_data = getgrgid(sb->st_uid);
+ g_nss_data = getgrgid(sb->st_gid);
if (g_nss_data == NULL)
fprintf(unowned_group_fd, "%s\n", file);
break;
@@ -191,7 +191,7 @@ int main(int argc, char **argv)
*/
ctrl = 1;
- directory = ( char * ) malloc((strlen(argv[i]) + 1));
+ directory = ( char * ) malloc((strlen(argv[i]) + 2));
if ( ! directory ) {
perror("malloc");
exit(1);