Summary: | sbin/ipfw/nat64lsn.c: PVS-Studio: CWE-467: Use of sizeof() on a Pointer Type | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Svyatoslav <razmyslov> | ||||
Component: | kern | Assignee: | freebsd-ipfw (Nobody) <ipfw> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | cem | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Svyatoslav
2017-03-13 11:32:04 UTC
A commit references this bug: Author: cem Date: Mon Mar 13 17:53:46 UTC 2017 New revision: 315204 URL: https://svnweb.freebsd.org/changeset/base/315204 Log: nat64lsn: Use memset() with structure, not pointer, size PR: 217738 Submitted by: Svyatoslav <razmyslov at viva64.com> Sponsored by: Viva64 (PVS-Studio) Changes: head/sys/netpfil/ipfw/nat64/nat64lsn.c |