
< 		memcpy(fw->img, src, fw->len);
---
> 		if (memmove_s(fw->img, len, src, fw->len) != 0)
> 			return -EFAULT;
