On Wed, Oct 10, 2012 at 4:44 PM, Andrew Morton <a...@linux-foundation.org> wrote: > On Wed, 10 Oct 2012 16:36:44 -0700 > Kees Cook <keesc...@chromium.org> wrote: > >> > would suffice? >> > >> > Not a big deal I guess, but copying out stuff beyond the NUL is a bit odd. >> >> Sure, that looks good to me. > > I think I'll stick with your tested patch for now. Could you please > add "clean that up" to your todo list?
Sure. I've sent a v3 now. It still needed to handle the (theoretical) len == 0 case, though. -Kees -- Kees Cook Chrome OS Security -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/