Don't call memcpy() with size > src

FORTIFY_SOURCE detected code of the form

char foo[10];
char bar[20];
memcpy(bar, foo, 20);

this code has a read buffer overflow, reading more data
from foo than it contains.

Change-Id: I7b85a2788763a839ce66a37ba84d597167c4a078
1 file changed