Skip to content
Commit 0d51cfeb authored by Daniel Veillard's avatar Daniel Veillard
Browse files

Fix a race in xmlNewInputStream

For https://bugzilla.gnome.org/show_bug.cgi?id=643148
Reported by Bill Clarke <llib@computer.org>, it used a global variable
as a counter for the input id and this was not thread safe. To avoid the
race without adding unneeded locking in the parser path, move the id to
the parser context instead.
parent 9313ae85
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment