On Thu, Jun 10, 2010 at 11:22:49AM +0200, walter harms wrote: > > + vp = kzalloc(VIC_PROVINFO_MAX_DATA, flags); > > + if (!vp) > > return NULL; > > > > memcpy(vp->oui, oui, sizeof(vp->oui)); > > -- > > > This looks like memdup() ? > No. VIC_PROVINFO_MAX_DATA is larger than sizeof(vp->oui). regards, dan carpenter > re, > wh -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html