Bug #1757
http_auth.c =>base64_decode
| Status: | Fixed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | core | |||
| Target version: | 1.4.21 | |||
| Pending: | No |
Resolution: | fixed |
|
Description
Hi,
I was looking at http_auth.c, function base64_decode, and found that in the base64_reverse_table there is one row missing, there are 15 rows (16 x 15) instead of 16. I know it's not likely that a character greater or equal 239 appears in the string to be decoded... but I just wanted to say :).
Great webserver! :)
Guido.
-- guido.reina
History
08/24/2008 03:11 PM - stbuehler
- Status changed from New to Assigned
Yes, you are right. Shouldn't be a real problem, because if the encoded string contains such characters it is broken anyway, but we should ignore the broken characters according to the RFC.
I already have a patch, but i guess i will keep it for after 1.4.20.