[1363] in Moira

home help back first fref pref prev next nref lref last post

Re: bad day for poboxes

daemon@ATHENA.MIT.EDU (Robert A Basch)
Thu Feb 17 18:46:22 2000

Message-Id: <200002172346.SAA35443@aupair.mit.edu>
To: Garry Zacheiss <zacheiss@MIT.EDU>
cc: moiradev@MIT.EDU
In-Reply-To: Your message of "Thu, 17 Feb 2000 17:32:41 EST."
             <200002172232.RAA21618@x15-cruise-basselope.mit.edu> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 17 Feb 2000 18:46:15 -0500
From: Robert A Basch <rbasch@MIT.EDU>

> Assign zacheiss a local PO Box (y/n) [y]: 
> Use Previous Local Box (y/n) [y]: n
> Kind of Local PO Box? [POP]: IMAP
> Segmentation fault (core dumped)

It looks like the problem is an uninitialized queue element pointer, fixed
by the following patch.  (I don't have permission to test completion of
the update).

Index: pobox.c
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/clients/
moira/pobox.c,v
retrieving revision 1.32
diff -c -r1.32 pobox.c
*** pobox.c	2000/01/28 00:31:54	1.32
--- pobox.c	2000/02/17 23:27:35
***************
*** 205,211 ****
  char *CreateImapBox(char *user)
  {
    int status;
!   struct mqelem *elem, *servers = NULL, *partitions = NULL;
    char *server = NULL, *partition = NULL;
    char *argv[11], *fsname, temp_buf[BUFSIZ];
    static char *default_imap_quota = NULL;
--- 205,211 ----
  char *CreateImapBox(char *user)
  {
    int status;
!   struct mqelem *elem = NULL, *servers = NULL, *partitions = NULL;
    char *server = NULL, *partition = NULL;
    char *argv[11], *fsname, temp_buf[BUFSIZ];
    static char *default_imap_quota = NULL;



home help back first fref pref prev next nref lref last post