Commit graph

28 commits

Author SHA1 Message Date
Andrey A. Chernov
3ca86b2cb5 Use snprintf now 1998-06-28 22:15:59 +00:00
Andrey A. Chernov
0a8957adfe oops, forget to add 1 for newline for max UIDL check 1998-06-28 21:56:00 +00:00
Andrey A. Chernov
27ccfb65b0 Increase allowed UIDL length to 70 chars per rfc1939 1998-06-28 21:44:59 +00:00
Andrey A. Chernov
61b9aa4259 Prevent overflow on too long From:
Do not return stack buffer
Submitted by: "Aaron D. Gifford" <agifford@infowest.com>
1998-06-28 21:31:18 +00:00
Andrey A. Chernov
198779dfae Reject too long X-UIDL 1998-06-28 21:11:55 +00:00
Andrey A. Chernov
a255968eaa Fix broken code that people tries to commit again and again despite the
fact that I am this port maintainer and still alive.
1998-06-28 17:50:22 +00:00
Jordan K. Hubbard
af81de00cc DOH! Correct stupid brain-o with strcat() in my last commit. Now
popper should get a bit further without dumping core now. :-)
1998-06-28 08:44:01 +00:00
Joerg Wunsch
51b8ca739a Well, it's always a bad idea to introduce new bugs when trying to fix
one... strncat(3) takes a string as its second arg, and a len as its
third one, not the other way round. =:-)

The ``consistency'' of the C library sucks, of course.
1998-06-28 08:04:07 +00:00
Jordan K. Hubbard
d5ff240d34 Close a missing overflow with strcat() in my original change
and add an extra overflow fix to pop_log.c.  This is just a place-holder
until Peter comes along with a more comprehensive set of patches.
1998-06-27 21:47:34 +00:00
Andrey A. Chernov
2ab4aaac95 Add -3 to len as room for \n\r\0 1998-06-27 20:47:27 +00:00
Jordan K. Hubbard
f8334957b6 Deal with a potential buffer overflow problem.
[also, there is a problem in the repo - patch-af is marked as removed
but it's not in the Attic!]
1998-06-27 10:31:18 +00:00
Andrey A. Chernov
ae95d57ede Upgrade to 2.41beta1 1997-11-20 14:38:54 +00:00
Andrey A. Chernov
65bf87e492 Return-path patch improvement: skip Return-path comes from headers
if we already generate our own.
Previous variant produce two and more Return-Path'es
1997-10-08 06:46:50 +00:00
Andrey A. Chernov
40239124bb Upgrade to 2.4b2
Fix two longstanding bugs in Return-Path patch:
1) possible uninitialized "rpath" variable usage
2) wrong message size, return_path not counted
1997-10-07 20:37:24 +00:00
Andrey A. Chernov
cb3076d716 Upgrade to 2.3 1997-04-23 04:27:26 +00:00
Paul Traina
476add9726 Add Net/OpenBSD compatible MAN= macros to makefiles.
Make file copy for new popauth stuff happen at right time.
1997-04-17 02:28:45 +00:00
Paul Traina
5365424c25 Fix a compilation error if S/Key support is disabled.
Submitted by:	 Hoss Firooznia
1997-04-02 06:11:05 +00:00
Andrey A. Chernov
705ccf9034 Optionally allow APOP only authentification mode 1997-04-02 01:38:30 +00:00
Paul Traina
3efd1fd648 If this is a UNIX standard mailbox with "From " lines, don't lose the
envelope-from information in that "From " line.  Instead, convert it
into a "Return-Path:" line, just as MMDF would do.

This is the least obnoxious (standards-wise) way to transmit the
envelope-from information in POP.
1997-03-08 08:08:45 +00:00
Andrey A. Chernov
8eb0b3c65e Move s/key info at the beginning of incorrect password message,
some client (f.e. Eudora) don't display whole line
1996-12-10 20:58:56 +00:00
Masafumi Max NAKANE
bbe4f17f7a New patch for man pages to make them correctly list the file locations. 1996-12-06 08:16:45 +00:00
Masafumi Max NAKANE
edbdac1118 Added PREFIX?=/usr/local to the Makefile so that nasty result can be
avoided even if the user typed ``make install'' in the WRKSRC directory.
1996-12-06 02:11:48 +00:00
Andrey A. Chernov
c1c75b5a23 Additionly report "s/key xx xxxxx (required)" in popper error
message about incorrect password. It is only chance to bring it
to user attention since 99% pop clients don't know about s/key
existance and do not prompt for s/key BEFORE sending password.
As result of this patch netscape allows reenter with valid
s/key now, i.e. it shows needed s/key info in password reentering box
after trying first time with incorrect one.
1996-12-04 23:43:45 +00:00
Paul Traina
a32537ed35 Fix random memory overwrite bug 1996-09-30 19:19:23 +00:00
Satoshi Asami
3f6dbd9ebd Don't turn on debugging by default.
Submitted by:	jkh
1996-07-10 02:34:25 +00:00
Paul Traina
3add58a3d7 Add scripts/pre-install to request POP userid creation.
Move pop.auth database to ${PREFIX}/etc/popper/pop.auth so that it
(a) does not conflict with MH's pop3 database of same name, and (b)
so that ${PREFIX}/etc/popper directory can be owned by pop uid so
that popauth -init always works.

This should cover the last nits regarding this port.

Requested by: asami
1996-06-22 18:24:51 +00:00
Paul Traina
5aded53b0e Fix up a couple of popauth problems in 2.2 1996-06-09 20:02:02 +00:00
Paul Traina
a538cbc51d Port of Qualcomm POPPER v2.2. 1996-06-08 22:33:52 +00:00