Browse Source

- group fixed (segfault on start when group specified)
- ISSUES updated to reflect this

Andrei Pelinescu-Onciul 22 years ago
parent
commit
d18ca80ce2
2 changed files with 8 additions and 1 deletions
  1. 7 0
      ISSUES
  2. 1 1
      main.c

+ 7 - 0
ISSUES

@@ -8,6 +8,13 @@ ordered by numbers of ser versions to which they relate,
 beginning with the newest release. Issues related to
 beginning with the newest release. Issues related to
 operating systems are summarized in the bottom.
 operating systems are summarized in the bottom.
 --------------------------------------------------------------
 --------------------------------------------------------------
+Desc: ser crashes on startup if a group is specified (-g or group=)
+Ser version:  <=0.8.12
+Reason:  bad copy & paste :-)
+Patch: http://www.mobile-ip.de/~andrei/ser/main_group.patch
+Workaround: update from cvs or  apply the corresponding patch
+CVS status: fixed
+--------------------------------------------------------------
 Desc: textops search REs like "^From" fails to match on RH8
 Desc: textops search REs like "^From" fails to match on RH8
 Ser version: all
 Ser version: all
 Reason: there is a bug in RH8 libc
 Reason: there is a bug in RH8 libc

+ 1 - 1
main.c

@@ -1359,7 +1359,7 @@ try_again:
 		}
 		}
 	}
 	}
 	if (group){
 	if (group){
-		gid=strtol(user, &tmp, 10);
+		gid=strtol(group, &tmp, 10);
 		if ((tmp==0) ||(*tmp)){
 		if ((tmp==0) ||(*tmp)){
 			/* maybe it's a string */
 			/* maybe it's a string */
 			gr_entry=getgrnam(group);
 			gr_entry=getgrnam(group);