Buffer overflow while doing GSSAPI authentication
Bug #602623 reported by
Mantas Mikulėnas
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mail Notification |
New
|
Undecided
|
Unassigned |
Bug Description
I have configured my IMAP server for GSSAPI (Kerberos) authentication, and I'm trying to use mail-notification with it, but I get this error message (copied from mail-notification -i):
** INFO: <email address hidden> reported an error: unable to encode Base64: overflowed buffer
Full log attached.
To post a comment you must log in.
After careful inspection, it seems that the problem occurs in src/mn- client- session. c, when write_base64() is passed a zero-length input buffer. Being new at C, I'm quite sure my quick "fix" may create other problems - but attaching it anyway.