[Spice-devel] [PATCH spice 2/3] syntax-check: Skip strncpy check

Pavel Grunt pgrunt at redhat.com
Fri Nov 18 11:04:03 UTC 2016


On Fri, 2016-11-18 at 11:58 +0100, Christophe Fergeau wrote:
> On Fri, Nov 18, 2016 at 11:45:40AM +0100, Pavel Grunt wrote:
> > strncpy used in reds_init_socket() has destination NUL terminated
> > ---
> > An alternative would be to use g_strlcpy
> 
> I'd prefer to switch to g_strlcpy and that we prohibit strncpy. But
> I'd
> prefer not to do that before a release :)
ok, I will do it after the release

Pavel



More information about the Spice-devel mailing list