The memcpy() function returns the src pointer instead of the dst pointer. This patch fix this bug. Signed-off-by: Yi Li <[email protected]> Signed-off-by: Bryan Wu <[email protected]>