diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-07-14 12:09:56 +0200 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2014-07-14 19:26:33 +0300 |
commit | 2c5041c3f85564d0cc90b1414b668f696ba1104f (patch) | |
tree | 6cdb5667957de711b2f34498203d8cfb21d3a3a9 /python_modules/demarshal.py | |
parent | dd4a446f5dc9330c6e18e4311cdf9f156db79a3a (diff) | |
download | spice-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