Re: [PATCH v5] Staging: exfat: Avoid use of strcpy

2019-09-12 Thread Sandro Volery
> On 12 Sep 2019, at 10:34, Dan Carpenter wrote: > > You did it. Well done. :P > > Reviewed-by: Dan Carpenter Thanks :D Had some issues with my git configuration setting up a home workstation but now it is all fine ___ devel mailing list de...@li

Re: [PATCH v5] Staging: exfat: Avoid use of strcpy

2019-09-12 Thread Dan Carpenter
You did it. Well done. :P Reviewed-by: Dan Carpenter regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH v5] Staging: exfat: Avoid use of strcpy

2019-09-12 Thread Sandro Volery
Use strscpy instead of strcpy in exfat_core.c, and add a check for length that will return already known FFS_INVALIDPATH. Suggested-by: Rasmus Villemoes Signed-off-by: Sandro Volery --- v5: Fixed some whitespaces v4: Replaced strlen check v3: Failed to replace check v2: Forgot to replace strlen