memcpy(p, ualg, sizeof(*ualg) + ualg->alg_key_len); 
memcpy(p, ualg, len); 
static int attach_one_algo(struct xfrm_algo **algpp, u8 *props,			   struct xfrm_algo_desc *(*get_byname)(char *, int),			   struct rtattr *u_arg){	struct rtattr *rta = u_arg;	struct xfrm_algo *p, *ualg;	struct xfrm_algo_desc *algo;	if (!rta)		return 0;	ualg = RTA_DATA(rta);	algo = get_byname(ualg->alg_name, 1);	if (!algo)		return -ENOSYS;	*props = algo->desc.sadb_alg_id;	p = kmalloc(sizeof(*ualg) + ualg->alg_key_len, GFP_KERNEL);	if (!p)		return -ENOMEM;	memcpy(p, ualg, sizeof(*ualg) + ualg->alg_key_len);	*algpp = p;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b9e9dead05b19e7f52c9aa00cd3a5b7ac4fcacf4/xfrm_user.c/buggy/net/xfrm/xfrm_user.c