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

Manuel Mausz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31133|0                           |1
        is obsolete|                            |

--- Comment #3 from Manuel Mausz <[email protected]> ---
Created attachment 31923
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31923&action=edit
continuation-lines-v2.patch

Since there doesn't seem to be much interest in fixing this edge case of the
parser, I decided to rewrite the patch to be more sane. The outcome is
attached.

Instead of adding a grown-flag to indicate we can look behind the first byte,
the function now expects the whole buffer, it's actual size and the current
offset to write to.

Additional I've fixed a bug in the "getch"-branch that also happens during
buffer resize. The APR_ENOSPC check is *before* storing the current character.
So this one gets lost.

I've checked both branches against all our webservers and there were no parsing
errors.

-- 
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