Date: Mon, 13 Mar 2017 12:18:13 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217749] PVS-Studio: Assignment to Variable without Use (CWE-563) (2) Message-ID: <bug-217749-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217749 Bug ID: 217749 Summary: PVS-Studio: Assignment to Variable without Use (CWE-563) (2) 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 180772 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180772&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: V519 The 'ret' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 722, 723. alias_proxy.c 723 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217749-8>
