summaryrefslogtreecommitdiffstats
path: root/python_modules/demarshal.py
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2014-07-14 12:09:56 +0200
committerUri Lublin <uril@redhat.com>2014-07-14 19:26:33 +0300
commit2c5041c3f85564d0cc90b1414b668f696ba1104f (patch)
tree6cdb5667957de711b2f34498203d8cfb21d3a3a9 /python_modules/demarshal.py
parentdd4a446f5dc9330c6e18e4311cdf9f156db79a3a (diff)
downloadspice-common-2c5041c3f85564d0cc90b1414b668f696ba1104f.tar.gz
spice-common-2c5041c3f85564d0cc90b1414b668f696ba1104f.tar.xz
spice-common-2c5041c3f85564d0cc90b1414b668f696ba1104f.zip
quic: Fix melcstate "OVERRUN" caught by coverity
Check for MELCSTATES - 1 to get inside the branch, otherwise (...)->rgb_state.melcstate may be up to MELCSTATES after the pre-incrementing, which would result in an access to a position that is out bounds of the array size MELCSTATES.
Diffstat (limited to 'python_modules/demarshal.py')
0 files changed, 0 insertions, 0 deletions