[Spice-devel] [PATCH spice-server 00/16] Leaks and tests!

Frediano Ziglio fziglio at redhat.com
Mon Sep 4 10:57:08 UTC 2017


This series contains mostly patches for the testing environment.
I was trying to reproduce a issue (leak) I found in RedWorker
using our test suite and I found it really out of date so
decided to give it an update.

The last two patches are the fix for the original issue and
another fix for a minor issue I found executing the tests
(which are a bit OT on this series).

Frediano Ziglio (16):
  test-display-base: Use unsigned numbers for command ring indexes
  test-display-base: Protect command ring with a mutex
  test-display-base: Avoid usage after free freeing wakeup timer
  test-display-base: Protect the wake up timer start with a mutex
  test-display-base: Avoid global buffer overflow
  test-display-base: Avoid cursor move command leaks
  test-display-base: Use spice allocation helpers
  test-display-base: Do not assume LP64 architecture on 64 bit
  tests: Allow to quit the message loop
  test-display-base: Always compile with AUTOMATED_TESTS enabled
  tests: Update README
  tests: Make test-fail-on-null-core-interface an automated test
  tests: Make test-empty-success automated
  tests: Make test-two-servers work reliably
  red-worker: Fix leak processing update commands
  red-worker: Start processing commands as soon as possible

 server/red-worker.c                             |  7 +-
 server/tests/Makefile.am                        |  9 +--
 server/tests/README                             | 20 +++---
 server/tests/basic-event-loop.c                 | 11 ++-
 server/tests/basic-event-loop.h                 |  1 +
 server/tests/test-display-base.c                | 93 ++++++++++++++-----------
 server/tests/test-display-base.h                |  2 +
 server/tests/test-empty-success.c               | 27 ++++---
 server/tests/test-fail-on-null-core-interface.c | 22 ++++--
 server/tests/test-two-servers.c                 |  1 +
 10 files changed, 123 insertions(+), 70 deletions(-)

-- 
2.13.5



More information about the Spice-devel mailing list