Re: potential bufferovflows in drivers/s390/crypto/

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

 



On Tue, Jun 26, 2018 at 09:37:01AM +0300, Georgi Guninski wrote:
> On Tue, Jun 26, 2018 at 08:05:47AM +0200, Heiko Carstens wrote:
> > This is actually already the third time that somebody reports a potential
> > buffer overflow for this function. Could you please add a comment in the
> > code to avoid future confusion?
> 
> This also confuses static analyzers and they don't read comments.
> In one of the functions (alive in kernel 3.20) adding check is possible.

Adding an extra, but superfluous, check would be fine with me as
well. Given that it is obviously non-trivial to tell that this code isn't
broken.

--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux