Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2015 16:28:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 201287] tools/tools/nxge/xge_info.c: 2 * three into two won't go
Message-ID:  <bug-201287-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201287

            Bug ID: 201287
           Summary: tools/tools/nxge/xge_info.c: 2 * three into two won't
                    go
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

1.

tools/tools/nxge/xge_info.c:399]: (error) Buffer is accessed out of bounds:
register_info.option

  strcpy(register_info->option, "-r");

strcpy copies 3 bytes, but field option is only two bytes.

2.

tools/tools/nxge/xge_info.c:440]: (error) Buffer is accessed out of bounds:
register_info.option

Duplicate with -w.

-- 
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-201287-8>