Actions
Bug #2848
closedbuffer_append_base64_decode() broken on compilers where char is assumed unsigned
ASK QUESTIONS IN Forums:
Description
In my application, the username/password combination "admin" "admin" did not work on lighttpd 1.4.48 using basic auth.
Yes, admin/admin was borken.
After many hours of digging through lighttpd code, I determined that the following static const variables in base64.c:
static const char base64_standard_reverse_table[]
static const char base64_url_reverse_table[]
should actually be explicit signed characters, as char.
The attached patch resolves the issue.
Files
Updated by gstrauss over 7 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Updated by gstrauss about 7 years ago
- Has duplicate Bug #2851: mod_auth fails its test suite on PowerPC (big-endian?) added
Updated by gstrauss about 7 years ago
- Has duplicate Bug #2873: Basic Auth method not working added
Actions
Also available in: Atom