This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/2189/

Review request for OpenLMI Developers.
By Jan Safranek.
Repository: openlmi-providers

Description

Initialize the XML parser only once.

There can be multiple threads running EnumerateInstances, thereforce
any xmlInitParser() call must be outside of it.

Multiple xmlInitParser() in different threads may clash, leading to hard to
debug sigsegv.

Diffs

  • src/selinux/LMI_SELinuxBooleanProvider.c (4b0ab283183200fffd3ff3d5dd4acfc9ddf30f3b)

View Diff