Skip to content
Snippets Groups Projects
  1. Jan 08, 2021
  2. Dec 15, 2020
  3. Dec 11, 2020
    • Kevin Wolf's avatar
      can-host: Fix crash when 'canbus' property is not set · 7cc25f6c
      Kevin Wolf authored
      
      Providing the 'if' property, but not 'canbus' segfaults like this:
      
       #0  0x0000555555b0f14d in can_bus_insert_client (bus=0x0, client=0x555556aa9af0) at ../net/can/can_core.c:88
       #1  0x00005555559c3803 in can_host_connect (ch=0x555556aa9ac0, errp=0x7fffffffd568) at ../net/can/can_host.c:62
       #2  0x00005555559c386a in can_host_complete (uc=0x555556aa9ac0, errp=0x7fffffffd568) at ../net/can/can_host.c:72
       #3  0x0000555555d52de9 in user_creatable_complete (uc=0x555556aa9ac0, errp=0x7fffffffd5c8) at ../qom/object_interfaces.c:23
      
      Add the missing NULL check.
      
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Message-Id: <20201130105615.21799-5-kwolf@redhat.com>
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      7cc25f6c
  4. Dec 10, 2020
  5. Nov 24, 2020
  6. Nov 11, 2020
  7. Nov 03, 2020
  8. Oct 30, 2020
  9. Oct 22, 2020
    • Claudio Fontana's avatar
      replay: do not build if TCG is not available · 9b1c9116
      Claudio Fontana authored
      
      this fixes non-TCG builds broken recently by replay reverse debugging.
      
      Stub the needed functions in stub/, splitting roughly between functions
      needed only by system emulation, by system emulation and tools,
      and by everyone.  This includes duplicating some code in replay/, and
      puts the logic for non-replay related events in the replay/ module (+
      the stubs), so this should be revisited in the future.
      
      Surprisingly, only _one_ qtest was affected by this, ide-test.c, which
      resulted in a buzz as the bh events were never delivered, and the bh
      never executed.
      
      Many other subsystems _should_ have been affected.
      
      This fixes the immediate issue, however a better way to group replay
      functionality to TCG-only code could be developed in the long term.
      
      Signed-off-by: default avatarClaudio Fontana <cfontana@suse.de>
      Message-Id: <20201013192123.22632-4-cfontana@suse.de>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      9b1c9116
  10. Oct 13, 2020
  11. Oct 09, 2020
  12. Oct 06, 2020
  13. Sep 30, 2020
  14. Sep 29, 2020
  15. Sep 18, 2020
  16. Sep 16, 2020
  17. Sep 11, 2020
  18. Sep 09, 2020
  19. Aug 21, 2020
Loading