Bug ID: 224141
Summary: possible Off-by-one bug in the Base64 decoding in the
Product: Base System
Severity: Affects Only Me
I think there is an issue with the base64 decode function:
unsigned char * base64_decode(const unsigned char *src, size_t 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.
You are receiving this mail because:
You are the assignee for the bug.
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"