Переглянути джерело

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

Andrei Pelinescu-Onciul 22 роки тому
батько
коміт
d18ca80ce2
2 змінених файлів з 8 додано та 1 видалено
  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
 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
 Ser version: all
 Reason: there is a bug in RH8 libc

+ 1 - 1
main.c

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