bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pop3d bug.


From: Sergey Poznyakoff
Subject: pop3d bug.
Date: Mon, 14 May 2001 10:09:16 +0300

pop3d/user.c after unsuccessful authorization frees cmd twice, due to
which the program coredumps. Here is the patch:

Index: user.c
===================================================================
RCS file: /cvs/mailutils/pop3d/user.c,v
retrieving revision 1.14
diff -u -p -r1.14 user.c
--- user.c      2001/05/04 03:58:27     1.14
+++ user.c      2001/05/14 07:02:02
@@ -206,7 +206,6 @@ pop3d_user (const char *arg)
          mailbox_close(mbox);
          mailbox_destroy(&mbox);
          state = AUTHORIZATION;
-         free (cmd);
          return ERR_MBOX_LOCK;
        }


Cheers,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]