]> git.sur5r.net Git - i3/i3/commit
Bugfix: fix reload crashes in rare cases (Thanks Tucos)
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 27 Jun 2012 15:48:22 +0000 (17:48 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 27 Jun 2012 15:48:22 +0000 (17:48 +0200)
commit6e9bbe67ce5f02ff6ac24889e5a215ee46247c32
tree8b498ee6df492d38b305d3217771f875253ce28b
parent28d453a2761e599fa2430a93111a8b348b2f2e57
Bugfix: fix reload crashes in rare cases (Thanks Tucos)

Depending on the memory layout, it could happen that bind->command was
exchanged with something else while the parser still accessed it.

Therefore, we now copy the command and let the parser use that copy.
src/handlers.c