Bug ID: 224141
           Summary: possible Off-by-one bug in the Base64 decoding in the
                    wpa supplicant
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless

Hi guys,

I think there is an issue with the base64 decode function:


unsigned char * base64_decode(const unsigned char *src, size_t len,
                              size_t *out_len)
        for (i = 0; i < sizeof(base64_table) - 1; i++)
                dtable[base64_table[i]] = (unsigned char) i;

the problem is the for loop which initializes the dtable. It does not
initialize the last element from the table ('/') which causes the char to be
interpreted as a garbage and ignored. Please have a closer look.

Best regards,

You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to