Re: [PATCH 2/4] staging: keucr: Use strncpy() instead of custom StringCopy() and some style cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 31, 2010 at 11:17 AM, Dan Carpenter <error27@xxxxxxxxx> wrote:
> In the original code the StringCopy() function was equivalent to
> memcpy(). ÂI don't know if the source string (which is probably not an
> actual string with this code) had NULL characters but if it did, that
> could cause bugs.
>
> regards,
> dan carpenter
>
>

Thank you for the review. I will prepare a new set of patches based in
your recommendations and resend.

-- 
Best regards,

-----------------------------------------
Javier MartÃnez Canillas
(+34) 682 39 81 69
--
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


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux