|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
(off-topic) Re: POP
Subject: (off-topic) Re: POP
From: Jeremy C. Reed (jcr
iwbc.net)
Date: Fri Jan 21 2000 - 13:44:16 CST
- Next message: Jason Hoos: "Re: Port of sendmail SUNET_ID_HASH fn for LDAP map?"
- Previous message: Khetan Gajjar: "Re: Good high volume IMAP daemon"
- In reply to: Fabien Seisen: "Re: POP"
- Next in thread: Fabien Seisen: "Re: (off-topic) Re: POP"
- Next in thread: Richard J. Sexton: "Re: POP"
- Reply: Jeremy C. Reed: "(off-topic) Re: POP"
- Reply: Fabien Seisen: "Re: (off-topic) Re: POP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 21 Jan 2000, Fabien Seisen wrote:
> Oh noo, not gnu-pop3d, it contains severals bugs.
> missing bound checkings, tests the return of malloc()'s , ...
I am trying to learn C.
I understand bound checking problems, but can you explain the bug of
"tests the return of malloc()'s"?
Is this bad? (An example from gnu-pop3d:)
apop.c:85: if ((password = malloc (sizeof (char) * APOP_DIGEST)) == NULL)
Or do you mean "not testing"?
extra.c:324: ret = malloc ((strlen (buf) + 1) * sizeof (char));
extra.c-325- strcpy (ret, buf);
Thanks,
Jeremy C. Reed
-----------------------------------------
IWBC ISP Services
jcr
iwbc.net
- Next message: Jason Hoos: "Re: Port of sendmail SUNET_ID_HASH fn for LDAP map?"
- Previous message: Khetan Gajjar: "Re: Good high volume IMAP daemon"
- In reply to: Fabien Seisen: "Re: POP"
- Next in thread: Fabien Seisen: "Re: (off-topic) Re: POP"
- Next in thread: Richard J. Sexton: "Re: POP"
- Reply: Jeremy C. Reed: "(off-topic) Re: POP"
- Reply: Fabien Seisen: "Re: (off-topic) Re: POP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This archive was generated by hypermail 2b27 : Fri Jan 21 2000 - 13:46:51 CST