Files
znc/src
MarkLee131 026b88e2fa ZNCString: avoid left shift of negative value in Base64Decode
base64_table uses the sentinel 0xff for bytes outside the base64 alphabet.
The old code read that through (char), producing signed -1, which made the
three (c << N) expressions in Base64Decode undefined behaviour when the
input contained any invalid byte.

Keep c and c1 as unsigned char so the shifts are well-defined. Reachable
pre-auth via CHTTPSock::ReadLine for the Authorization: Basic value.
2026-04-25 10:34:06 +08:00
..
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2015-12-07 00:53:30 +00:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2015-12-07 00:53:30 +00:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-01-01 13:44:32 +01:00
2026-03-10 10:26:35 +01:00
2026-01-01 13:44:32 +01:00