[Users] [Bug 3473] New: base64 regression with old glib2 (before 2.26.0)

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Jul 21 17:21:08 CEST 2015


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3473

            Bug ID: 3473
           Summary: base64 regression with old glib2 (before 2.26.0)
    Classification: Unclassified
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: jean.diraison at ac-rennes.fr

The g_base64_decode() function fails with a short input (when length is 0 or 1)
with old glib2, due to some checkings :

    g_return_val_if_fail (input_length > 1, NULL);

http://sourcecodebrowser.com/glib2.0/2.25.9/gbase64_8c.html#a63c6d3fe0225174fef9b924880d06034
http://sourcecodebrowser.com/glib2.0/2.26.0/gbase64_8c.html#a63c6d3fe0225174fef9b924880d06034

This behavior generate claws-mail crashed when trying to decode empty passwords
(like "password=!" entry) in the accountrc file.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list