Commit 9045b035981e4273ddbb64bfb31577bbf92d8597

Peter Hutterer 2018-07-23T11:17:17

text: init the target buffer to zero There's a (theoretical?) path where we might end up strcpy() buf without ever writing to it. This happens if the mask is nonzero but specifies a modifier larger than the one in the xkb_mod_set. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>