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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to