> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Kobylinski, MichalX > Sent: Monday, May 16, 2016 1:51 PM > To: Thomas Monjalon <thomas.monjalon at 6wind.com> > Cc: dev at dpdk.org; Dumitrescu, Cristian <cristian.dumitrescu at intel.com> > Subject: Re: [dpdk-dev] [PATCH] cfgfile: fix integer overflow > ... > Coverity show that there is overflowed value. > But the second parameter will never be greater than 254 (its range is 0 - > 254). > I used cast this parameter to unsigned in order that resolved bug reported > by static analysis.
Hi, If the error cannot happen in a real application then you can mark the defect as a false positive in Coverity. Add some of the information provided above as to why it is a false positive to the comments section of the defect or add a link to the patchwork discussion. John