Commit 89798f77 authored by Ghislain MARY's avatar Ghislain MARY

Upstream commit "Fix global-buffer-overflow in voAWB_Copy."

Adapted from upstream commit dae006d1def007dddad9a202a0593b478eab503f.
parent 7c39913c
...@@ -60,13 +60,11 @@ void Copy( ...@@ -60,13 +60,11 @@ void Copy(
*y++ = temp1; *y++ = temp1;
} }
num = (Word32)(L>>1); num = (Word32)(L>>1);
temp1 = *x++;
temp2 = *x++;
do{ do{
*y++ = temp1;
*y++ = temp2;
temp1 = *x++; temp1 = *x++;
temp2 = *x++; temp2 = *x++;
*y++ = temp1;
*y++ = temp2;
}while(--num!=0); }while(--num!=0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment