Bug 20858 - imap hangs on some letters
Summary: imap hangs on some letters
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: imap   
(Show other bugs)
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: Dale Lovelace
: 40855 41292 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2000-11-14 18:26 UTC by Need Real Name
Modified: 2007-04-18 16:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-06-20 09:13:02 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2001:094 high SHIPPED_LIVE : Updated UW imap packages available (imap/pop3/imaps/pop3s) 2001-07-06 04:00:00 UTC

Description Need Real Name 2000-11-14 18:26:28 UTC
imapd (when used with mbox format)
hangs on some messages.
The message is an e-mail with uuencode attached,
so no special symbols there.
The server reads about 35-50 % of the message 
and then just hangs. Nothing happend after this.
This happens both with imap 4.7c2 and imap 2000.
A message which hangs imapd is available upon request (about 1.5Mb).

Comment 1 Need Real Name 2001-01-09 16:19:52 UTC
There were two problem which caused this hang.

1. Bug in imapd, it did not handle \000 symbols in a message well.
   I contacted Mark Crispin and he fixed this bug.
   This bug is fixed as of Jan 9, 2000. This imap version should handle \000 OK
so an upgrade of IMAP should fix the problem.

2. Bug in Netscape which is posted at
Netscape messanger can not handle \000 symbols in a message body.
This bug need to be fixed beacuse it probably has some security implications.

Comment 2 Mike A. Harris 2001-05-18 06:40:20 UTC
I have just updated imap-2000 to imap-2000c, and it appears to fix
this problem.  I've tested it out a bit, but would like to get you to
test it as well.  I have put up packages on:

ftp://people.redhat.com/mharris/testing    for you to test.  Please
update the bug report with your results after you get a chance to
try it out.  I will be releasing an errata I believe shortly for this
problem and some others that have been reported.

Comment 3 Mike A. Harris 2001-05-18 07:15:16 UTC
Oh, I didn't mention anything about Netscape...

Netscape is closed source software, to which we do not have the source code.
We are not able to fix any bugs in Netscape, so if it crashes, etc.. or has
any security bugs, we cannot do anything until a new version of Netscape
is made available from AOL with the fixes.  It is possible, albeit unknown
if our latest Netscape errata fixes this problem.  Please upgrade to 4.77 if
you havent already.


Comment 4 Mike A. Harris 2001-05-19 00:14:53 UTC
*** Bug 40855 has been marked as a duplicate of this bug. ***

Comment 5 Mike A. Harris 2001-05-19 00:17:55 UTC
*** Bug 41292 has been marked as a duplicate of this bug. ***

Comment 6 Matthew Galgoci 2001-05-19 01:14:52 UTC

The imap 2000c packages indeed appear to fix the problem, but nutscrape appears
to still barf when attempting to copy the message locally.

The test message I used appears to work fine with 2000c.

I think that the imap 2000 issues are resolved.


Comment 7 Matthew Galgoci 2001-05-19 01:15:52 UTC
Make sure you let netscape know about the issue with nulls in 4.7x

Comment 8 Matthew Galgoci 2001-05-19 01:18:49 UTC
mozilla appears to choke on this.

Comment 9 Need Real Name 2001-05-19 01:45:09 UTC
I tested imap on letters with \0 symbols using pine-4.33-7

imap-2000-3 hangs on letters with \0
imap-2000c-0.2 works OK on letters with \0

does not work well with \0 symbols (I sent a report to netscape
about 4 months ago - no any response)
I did not test mozilla.

Comment 10 Mike A. Harris 2001-06-20 09:12:58 UTC
Fixed in imap-2000c-7 to be released as errata RSN.

Note You need to log in before you can comment on or make changes to this bug.