]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commit
keymaps.c: fix use after free in del_key_range
authorJan Beulich <jbeulich@novell.com>
Mon, 17 Jan 2011 18:00:37 +0000 (18:00 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 17 Jan 2011 18:00:37 +0000 (18:00 +0000)
commitfdb22f24bc8adb3455b771d804496e11b4570085
tree96f0f8e6134071ea340fd835323a59867c6b1134
parent1c304816043c0ffe14d20d6006d6165cb7fddb9b
keymaps.c: fix use after free in del_key_range

Commit 99d53fbb69d3e03be61ae10506a304a3d08d792f introduced this, and
the compiler indirectly warned about it.

The patch is only compile tested (I don't even know how to reproduce
the original problem), but I suppose worth applying regardless.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Chun Yan Liu <cyliu@novell.com>
keymaps.c