Go to file
Marc-André Lureau 748b42ecc4 usbutil: fix crash on windows
vendor_count is the last access index, the actually count is +1.

On Windows, it crashes later on because of corrupted memory.

Thanks to valgrind for this precious help:

==4535== Invalid write of size 2
==4535==    at 0x40197E: spice_usbutil_parse_usbids (usbutil.c:170)
==4535==    by 0x401CEC: spice_usbutil_load_usbids (usbutil.c:241)
==4535==    by 0x4020C6: main (usbutil.c:322)
==4535==  Address 0x56b740c is 12 bytes after a block of size 348,160 alloc'd
==4535==    at 0x4A0884D: malloc (vg_replace_malloc.c:263)
==4535==    by 0x4EAAEBE: g_malloc (gmem.c:159)
==4535==    by 0x401847: spice_usbutil_parse_usbids (usbutil.c:156)
==4535==    by 0x401CEC: spice_usbutil_load_usbids (usbutil.c:241)
==4535==    by 0x4020C6: main (usbutil.c:322)
==4535==
2012-07-11 14:44:33 +02:00
build-aux Generate ChangeLog and ship it in the tarball 2012-01-15 22:07:05 +01:00
data controller: handle USB redirection messages 2012-04-04 10:22:00 +02:00
doc build-sys: move codegen & proto to spice-common 2012-03-25 19:22:52 +02:00
gtk usbutil: fix crash on windows 2012-07-11 14:44:33 +02:00
m4 build: allow building with newer glibc-headers and -O0 2012-06-07 17:23:05 +02:00
po build: fix make distcheck 2012-07-10 20:53:53 +02:00
spice-common@5f44094940 Update spice-common 2012-06-05 22:29:36 +02:00
vapi build: fix vapigen error and warnings 2012-01-24 02:01:27 +01:00
.gitmodules build-sys: move codegen & proto to spice-common 2012-03-25 19:22:52 +02:00
.mailmap Release 0.8 2012-01-15 22:07:05 +01:00
AUTHORS Release 0.8 2012-01-15 22:07:05 +01:00
autogen.sh autogen.sh: default to --enable-vala when building from git 2012-04-04 10:29:04 +02:00
configure.ac Windows mingw: usb: configure.ac: do not require GUDEV for USBREDIR 2012-07-10 17:08:59 +03:00
COPYING Initial import from SPICE 2010-11-23 17:00:17 +01:00
git.mk build-sys: use new git.mk 2012-03-20 00:20:45 +01:00
Makefile.am build-sys: move codegen & proto to spice-common 2012-03-25 19:22:52 +02:00
NEWS Release v0.12 2012-04-24 13:10:23 +02:00
README build-sys: pyparsing req. moved to spice-common 2012-04-21 20:46:36 +02:00
spice-client-glib-2.0.pc.in build: move @SPICE_GLIB_REQUIRES@ to Requires.private 2012-03-07 21:07:20 +01:00
spice-client-gtk-2.0.pc.in build: fix .pc Requires 2011-07-16 15:47:37 +02:00
spice-client-gtk-3.0.pc.in build: fix .pc Requires 2011-07-16 15:47:37 +02:00
spice-controller.pc.in gtk/controller: install spice-controller library 2011-04-10 00:46:52 +02:00
THANKS Release v0.10 2012-02-23 19:02:52 +01:00
TODO Release v0.7 2011-07-18 20:28:07 +02:00

spice-gtk
=========

A Gtk client and libraries for SPICE remote desktop servers.

Please report bugs at: spice-devel@lists.freedesktop.org

What you can find here
----------------------

libspice-client-glib-2.0
   provides glib objects for spice protocol decoding and surface rendering.
      * SpiceSession (see spice-session.h).
      * SpiceChannel (see spice-channel.h).
      * SpiceAudio (see spice-audio.h).
      * Various Spice<Type>Channel (see channel-<type>.h).

libspice-client-gtk-{2.0,3.0}
   provides gtk widget to show spice display and accept user input.
      * SpiceDisplay (see spice-widget.h)

spicy
   gtk based spice client app.  Command line options are simliar
   to the spicec ones.

snappy
   Command line tool, connects to spice server and writes out a
   screen shot.

spicy-stats
   Command line tool, connects to spice server and writes out a
   summary of connection details, amount of bytes transferred...

SpiceClientGtk python module (only built with Gtk+ 2.0)

SpiceClientGlib and SpiceClientGtk GObject-introspection modules.

Build dependencies:
------------------

. On Fedora: (gtk2-devel if building with --with-gtk=2.0)

gtk3-devel spice-protocol intltool celt051-devel
openssl-devel pulseaudio-libs-devel pixman-devel
gobject-introspection-devel libjpeg-turbo-devel zlib-devel
cyrus-sasl-devel gtk-doc

. To build python bindings for virt-manager, you need gtk2, and:

pygtk2-devel python

. The experimental GStreamer backend needs:

gstreamer-devel gstreamer-plugins-base-devel

. If you build from git, you'll also need:

libtool automake vala perl-Text-CSV


current state
-------------

There are some known bugs, check the TODO list and
bugzilla.freedesktop.org.

Copyright 2009-2011 Red Hat, Inc. and/or its affiliates.

This program and libraries is free software; you can redistribute it
and/or modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.