mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 19:50:06 +01:00
Incorrect extra memory copy in RRChangeOutputProperty.
Left over from previous version of the code, this memmove will break when the mode is not Replace.
This commit is contained in:
parent
8eb288fbd6
commit
945aa0aa55
1 changed files with 0 additions and 2 deletions
|
|
@ -177,8 +177,6 @@ RRChangeOutputProperty (RROutputPtr output, Atom property, Atom type,
|
|||
RRDestroyOutputProperty (prop);
|
||||
return BadAlloc;
|
||||
}
|
||||
if (len)
|
||||
memmove((char *)new_value.data, (char *)value, total_size);
|
||||
new_value.size = len;
|
||||
new_value.type = type;
|
||||
new_value.format = format;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue