keyboard: Don't strcat() into a strdup()ed string
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 10 Jan 2014 07:45:18 +0000 (23:45 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 10 Jan 2014 07:45:18 +0000 (23:45 -0800)
commit700d6ad071614895c3cb305b894b8c1a003db39e
tree8ebefd3bd2f3e06aa7662ee98bef07352fe969b5
parenta548b4b85cfdbef103f622c3e3aaf976938535f9
keyboard: Don't strcat() into a strdup()ed string

We need to reallocate the memory to hold the entire concatenated string,
but strcat() doesn't do that.

Closes: https://bugs.freedesktop.org/show_bug.cgi?id=71750
clients/keyboard.c
clients/window.c
clients/window.h