Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

Jean Delvare
2015-07-29T06:44:34Z

Le Tuesday 28 July 2015 à 10:46 +0100, Lee Jones a écrit :
> On Mon, 27 Jul 2015, Matt Fleming wrote:
> > + strcpy(pdata->name, info->name);
>
> strncpy() is safer.

And strlcpy() is even better.

--
Jean Delvare
SUSE L3 Support