- group fixed (segfault on start when group specified)
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 26 Nov 2003 23:43:59 +0000 (23:43 +0000)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Wed, 26 Nov 2003 23:43:59 +0000 (23:43 +0000)
- ISSUES updated to reflect this

ISSUES
main.c

diff --git a/ISSUES b/ISSUES
index f039fb4..07b24e3 100644 (file)
--- a/ISSUES
+++ b/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
diff --git a/main.c b/main.c
index ccfbc74..2e05bc6 100644 (file)
--- a/main.c
+++ b/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);