[erlang-bugs] Bug when streaming input to xmerl_scan
Tue Aug 9 15:03:08 CEST 2011
Thanks Simon, your fix will be applied in R14B04.
Erlang/OTP, Ericsson AB
On 07/27/2011 09:12 PM, Simon Cornish wrote:
> Consider the following trivial XML:
> <?xml version="1.0" ?>
> <item a="b">blah</item>
> If this is being fed to xmerl_scan:string via a continuation_fun and
> the current input runs out at the end of an attribute value (in this
> example, the 2nd " character on the item line) then it will crash.
> This is demonstrated in the small attached module.
> One possible fix that has been tested is also attached.
> erlang-bugs mailing list
More information about the erlang-bugs