summaryrefslogtreecommitdiffstats
path: root/python_modules/spice_parser.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-03-13 16:41:02 +0100
committerHans de Goede <hdegoede@redhat.com>2012-03-13 16:41:02 +0100
commit914e50814f151a9a5680018e2f264fd900885af9 (patch)
tree6c6bcdab33a0f215f37accce9cc5bebca0b0abb1 /python_modules/spice_parser.py
parent42ac95e125286d3c9b012b33ef39e758f43dc083 (diff)
downloadspice-914e50814f151a9a5680018e2f264fd900885af9.tar.gz
spice-914e50814f151a9a5680018e2f264fd900885af9.tar.xz
spice-914e50814f151a9a5680018e2f264fd900885af9.zip
red_worker: Check for NULL watches
If we run out of watches slots, we return NULL from watch_add, which means that the other watch_foo functions may get called with a NULL parameter, protect them against this. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'python_modules/spice_parser.py')
0 files changed, 0 insertions, 0 deletions