Page MenuHomeFreeBSD

Fix initialization of eventhandler mutex.
ClosedPublic

Authored by mjoras on Mar 19 2018, 10:16 PM.

Details

Summary

mtx_init does not do a copy of the name string it is passed. The
eventhandler code incorrectly passed the parameter string directly to
mtx_init instead of using the copy it makes. This was an existing
problem with the code that I dutifully copied over in my changes in r325621.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mjoras created this revision.Mar 19 2018, 10:16 PM
rstone accepted this revision.Mar 19 2018, 10:28 PM
This revision is now accepted and ready to land.Mar 19 2018, 10:28 PM
markj accepted this revision.Mar 19 2018, 10:31 PM
This revision was automatically updated to reflect the committed changes.