[Spice-devel] [PATCH 0/2] Make plugin version checking more robust

Christophe de Dinechin christophe at dinechin.org
Fri Mar 23 12:05:22 UTC 2018


From: Christophe de Dinechin <dinechin at redhat.com>

Ensure that plugin version checking cannot be bypassed.
Implement version checking without violating the C++ ODR.
Improve ABI version numbering when incompatibilites are detected post-release.
Add macro to make it easier to generate the ABI interface.

Christophe de Dinechin (2):
  Ensure that plugins cannot bypass version check
  Add a macro to deal with the boilerplate of writing a streaming agent
    plugin

 include/spice-streaming-agent/plugin.hpp | 58 +++++++++++++++++++-------------
 src/concrete-agent.cpp                   | 35 +++++++++----------
 src/concrete-agent.hpp                   |  4 ---
 src/mjpeg-fallback.cpp                   |  3 --
 4 files changed, 53 insertions(+), 47 deletions(-)

-- 
2.13.5 (Apple Git-94)



More information about the Spice-devel mailing list