https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217738
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: razmys...@viva64.com Created attachment 180763 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180763&action=edit git patch We have found and fixed a vulnerability using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/ Analyzer warning: V512 A call of the 'memset' function will lead to underflow of the buffer 'plog'. nat64lsn.c 218 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"