Re: [Dnsmasq-discuss] [PATCH] Various fixes detected by static analysis

2018-08-21 Thread Simon Kelley
On 21/08/18 21:22, Petr Mensik wrote: > Hi Simon and all others, > > I have tried running dnsmasq under coverity, static analysis tool. It > found some warnings. I have fixed some things. Most obvious error was > inconsistent handling of buffer length of interface names. Buffer size > is IFNAMSIZ

[Dnsmasq-discuss] [PATCH] Various fixes detected by static analysis

2018-08-21 Thread Petr Mensik
Hi Simon and all others, I have tried running dnsmasq under coverity, static analysis tool. It found some warnings. I have fixed some things. Most obvious error was inconsistent handling of buffer length of interface names. Buffer size is IFNAMSIZ long, that is 16 bytes. But if interface should