Re: [PATCH ulogd2,v2 3/6] ulogd: raise error on unknown config key

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

 



Corubba Smith <corubba@xxxxxx> wrote:
> So my proposed fix would be:
> 
> -		strncpy(&config_errce->key[0], wordbuf, CONFIG_KEY_LEN - 1);
> +		memcpy(&config_errce->key[0], wordbuf, sizeof(config_errce->key) - 1);
> 
> Compiles without a warning, and tested to work as expected. Would you
> like a v3 of the whole patch, or is this addendum good enough?

Please rebase and send a v3.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux