Messages in this thread | | | From | Azeem Shaikh <> | Date | Mon, 22 May 2023 12:19:36 -0400 | Subject | Re: [PATCH] NFS: Prefer strscpy over strlcpy calls |
| |
> > --- > > Note to reviewers: the one case where this patch would modify existing behavior > > is when strlen(src)==destlen==0. Current behavior returns 0, with this patch it > > would return -1. > > > > Not sure what the implication of this updated behavior would be, > > so bringing it to your attention. > > I'm not sure either, but I would prefer non-terminated strings produce > an error, which this change does. :) > > Reviewed-by: Kees Cook <keescook@chromium.org> >
Friendly ping.
| |