diff options
Diffstat (limited to 'app-emulation/spice/files/spice-0.14.3-CVE-2020-14355-ef1b6ff7.patch')
-rw-r--r-- | app-emulation/spice/files/spice-0.14.3-CVE-2020-14355-ef1b6ff7.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app-emulation/spice/files/spice-0.14.3-CVE-2020-14355-ef1b6ff7.patch b/app-emulation/spice/files/spice-0.14.3-CVE-2020-14355-ef1b6ff7.patch deleted file mode 100644 index bc764ec23ce2..000000000000 --- a/app-emulation/spice/files/spice-0.14.3-CVE-2020-14355-ef1b6ff7.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/common/quic_tmpl.c b/common/quic_tmpl.c -index ecd6f3f187c753a89b7dbb0657edc3ae82ffaaff..ebae992d642a657a7505b3ca0e8145310805f32f 100644 ---- a/subprojects/spice-common/common/quic_tmpl.c -+++ b/subprojects/spice-common/common/quic_tmpl.c -@@ -563,7 +563,11 @@ static void FNAME_DECL(uncompress_row_seg)(const PIXEL * const prev_row, - do_run: - state->waitcnt = stopidx - i; - run_index = i; -- run_end = i + decode_state_run(encoder, state); -+ run_end = decode_state_run(encoder, state); -+ if (run_end < 0 || run_end > (end - i)) { -+ encoder->usr->error(encoder->usr, "wrong RLE\n"); -+ } -+ run_end += i; - - for (; i < run_end; i++) { - UNCOMPRESS_PIX_START(&cur_row[i]); |