qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 2a19b2: virtio-input: fix segfault in virtio_


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 2a19b2: virtio-input: fix segfault in virtio_input_hid_pro...
Date: Fri, 17 Jul 2015 04:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 2a19b229f6c2f7288bb8c2498bffb01d67810dee
      
https://github.com/qemu/qemu/commit/2a19b229f6c2f7288bb8c2498bffb01d67810dee
  Author: Lin Ma <address@hidden>
  Date:   2015-07-16 (Thu, 16 Jul 2015)

  Changed paths:
    M hw/input/virtio-input-hid.c

  Log Message:
  -----------
  virtio-input: fix segfault in virtio_input_hid_properties

commit 5cce173 introduced virtio-input segfault, This patch fixes it.

Signed-off-by: Lin Ma <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: e2f6bac3010419426b636d2b307f66deecd60813
      
https://github.com/qemu/qemu/commit/e2f6bac3010419426b636d2b307f66deecd60813
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-07-16 (Thu, 16 Jul 2015)

  Changed paths:
    M hw/input/virtio-input-host.c
    M include/standard-headers/linux/input.h
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  virtio-input: move sys/ioctl.h include

Drop from include/standard-headers/linux/input.h
Add to hw/input/virtio-input-host.c instead.

That allows to build virtio-input (except pass-through) on windows.

Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 562f93754b95fd6dc65ad9a2aa15a90b2da7e8a4
      
https://github.com/qemu/qemu/commit/562f93754b95fd6dc65ad9a2aa15a90b2da7e8a4
  Author: Paolo Bonzini <address@hidden>
  Date:   2015-07-17 (Fri, 17 Jul 2015)

  Changed paths:
    M hw/input/hid.c

  Log Message:
  -----------
  hid: clarify hid_keyboard_process_keycode

Coverity thinks the fallthroughs are smelly.  They are correct, but
everything else in this function is like "wut?".

Refer explicitly to bits 8 and 9 of hs->kbd.modifiers instead of
shifting right first and using (1 << 7).  Document what the scancode
is when hid_code is 0xe0.  And add plenty of comments.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: fd1a9ef9c2493b5bc98e8e041333a57b635c5d71
      
https://github.com/qemu/qemu/commit/fd1a9ef9c2493b5bc98e8e041333a57b635c5d71
  Author: Peter Maydell <address@hidden>
  Date:   2015-07-17 (Fri, 17 Jul 2015)

  Changed paths:
    M hw/input/hid.c
    M hw/input/virtio-input-hid.c
    M hw/input/virtio-input-host.c
    M include/standard-headers/linux/input.h
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-20150717-1' into 
staging

input: fixes for 2.4

# gpg: Signature made Fri Jul 17 07:45:17 2015 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-input-20150717-1:
  hid: clarify hid_keyboard_process_keycode
  virtio-input: move sys/ioctl.h include
  virtio-input: fix segfault in virtio_input_hid_properties

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/b4329bf41c86...fd1a9ef9c249

reply via email to

[Prev in Thread] Current Thread [Next in Thread]