https://issues.apache.org/bugzilla/show_bug.cgi?id=43670

--- Comment #18 from Jukka Zitting <[email protected]> 2010-01-27 06:48:35 UTC 
---
Created an attachment (id=24895)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24895)
Proposed patch

I inspected the troublesome files and the byte patterns in the chunk streams
seem to indicate that the parsing logic is not correctly detecting some
separator
bytes.

The proposed patch adds the missing logic for all the misdiagnosed entries in
the attached example files, though it seems likely that there are also other
cases out there where the current logic would fail. Without better information
about the semantics of the chunk header fields it's hard to do anything better.
With this patch all the attached files get parsed without problems.

The patch also contains a change to the chunks_parse_cmds.tbl file for avoiding
incorrect parsing of a chunk in attachment 21770. The entry that I commented
out
seemed vague in the first place, so I don't believe this change will cause
(m)any
regressions.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to