Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArrayIndexOutOfBoundsException for some IMAP protocol errors #15

Closed
glassfishrobot opened this issue Jan 3, 2011 · 5 comments
Closed
Assignees

Comments

@glassfishrobot
Copy link

The bug is described here:
http://forums.oracle.com/forums/thread.jspa?threadID=2125957&tstart=0

When parsing a string in an IMAP protocol response, the parsing code
can walk off the end of the buffer if (e.g.) the string doesn't have the
required terminating quote mark.

This exception should only occur with broken servers that send incorrect
IMAP protocol messages.

Affected Versions

1.4.4

Environment

All
All

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by @bshannon

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
@bshannon said:
I've fixed JavaMail 1.4.5 to avoid this exception, but of course other things
are likely to fail if the server is returning incorrect data with unterminated
quoted strings.

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from Bugzilla JAVAMAIL-3815

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Marked as fixed on Tuesday, May 2nd 2017, 12:38:45 pm

@glassfishrobot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants