Date: Mon, 13 Mar 2017 11:32:04 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217738] PVS-Studio: CWE-467: Use of sizeof() on a Pointer Type Message-ID: <bug-217738-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217738 Bug ID: 217738 Summary: PVS-Studio: CWE-467: Use of sizeof() on a Pointer Type Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: razmyslov@viva64.com Created attachment 180763 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180763&action= =3Dedit git patch We have found and fixed a vulnerability using PVS-Studio tool. PVS-Studio i= s a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studi= o/ Analyzer warning: V512 A call of the 'memset' function will lead to underfl= ow of the buffer 'plog'. nat64lsn.c 218 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217738-8>