Fix crash
This commit fixes the memcpy size calculation so it won't crash if the destination stride is bigger than the source stride Related: #1844993
This commit is contained in:
parent
6cbcbd37d0
commit
e71ada450b
@ -63,7 +63,7 @@ index 88c07be..261292a 100644
|
||||
+ {
|
||||
+ memcpy (((uint8_t *) frame->data) + y * dst_stride,
|
||||
+ ((uint8_t *) src_data) + y * src_stride,
|
||||
+ dst_stride);
|
||||
+ stream->spa_format.size.width * 4);
|
||||
+ }
|
||||
|
||||
if (map)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Name: gnome-remote-desktop
|
||||
Version: 0.1.8
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: GNOME Remote Desktop screen share service
|
||||
|
||||
License: GPLv2+
|
||||
|
Loading…
Reference in New Issue
Block a user