diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-06-25 14:36:03 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-07-25 17:25:29 +0200 |
commit | 3c25192ee90f843a2f84ff99d119b1cb45979bac (patch) | |
tree | 12bd20d8151ba168e6037c1d8069eceb90e689b8 /server/spice.h | |
parent | 284cca2a5ebc98257275585083321a7100fb89b3 (diff) | |
download | spice-3c25192ee90f843a2f84ff99d119b1cb45979bac.tar.gz spice-3c25192ee90f843a2f84ff99d119b1cb45979bac.tar.xz spice-3c25192ee90f843a2f84ff99d119b1cb45979bac.zip |
server: don't assert on invalid client message
Some users have been reaching this error:
snd_receive: ASSERT n failed
A misbehaving client could easily hit that condition by sending too big
messages. Instead of assert(), replace with a warning. When a message
too big to fit is received, it will simply disconnect the channel.
https://bugzilla.redhat.com/show_bug.cgi?id=962187
Diffstat (limited to 'server/spice.h')
0 files changed, 0 insertions, 0 deletions