summaryrefslogtreecommitdiffstats
path: root/client/glz_decoder_window.cpp
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2015-09-08 12:12:19 +0100
committerFrediano Ziglio <fziglio@redhat.com>2015-10-06 11:11:11 +0100
commit3738478ed7065fe05f3ee4848f8a7fcdf40aa920 (patch)
tree80671229df4d94277f72829fb8d120d0ff206bab /client/glz_decoder_window.cpp
parentcaec52dc77af6ebdac3219a1b10fe2293af21208 (diff)
Fix race condition in red_get_data_chunks_ptr
Do not read multiple times data from guest as this can be changed by other guest vcpus. This causes races and security problems if these data are used for buffer allocation or checks. Actually, the 'data' member can't change during read as it is just a pointer to a fixed array contained in qxl. However, this change will make it clear that there can be no race condition. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'client/glz_decoder_window.cpp')
0 files changed, 0 insertions, 0 deletions