NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-emips/50537: src/sys/arch/emips/stand/common/boot.c:70: possible bad size ?
>Number: 50537
>Category: port-emips
>Synopsis: src/sys/arch/emips/stand/common/boot.c:70: possible bad size ?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-emips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 11 11:00:00 +0000 2015
>Originator: David Binderman
>Release: cvs dated 20151210
>Organization:
>Environment:
>Description:
[src/sys/arch/emips/stand/common/boot.c:70]: (warning) Using 'sizeof' on array given as function argument returns size of a pointer.
memset(marks, 0, sizeof marks);
maybe
memset(marks, 0, sizeof *marks);
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index