Netdev List
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: netdev@vger.kernel.org
Subject: Fw: [Bug 79811] New: ethernet/dec/tulip/tulip_core.c:592: array index check in wrong place ?
Date: Thu, 10 Jul 2014 05:50:22 -0700	[thread overview]
Message-ID: <20140710055022.652ce61d@samsung-9> (raw)



Begin forwarded message:

Date: Thu, 10 Jul 2014 04:21:24 -0700
From: "bugzilla-daemon@bugzilla.kernel.org" <bugzilla-daemon@bugzilla.kernel.org>
To: "stephen@networkplumber.org" <stephen@networkplumber.org>
Subject: [Bug 79811] New: ethernet/dec/tulip/tulip_core.c:592: array index check in wrong place ?


https://bugzilla.kernel.org/show_bug.cgi?id=79811

            Bug ID: 79811
           Summary: ethernet/dec/tulip/tulip_core.c:592: array index check
                    in wrong place ?
           Product: Networking
           Version: 2.5
    Kernel Version: 3.16-rc4
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
          Assignee: shemminger@linux-foundation.org
          Reporter: dcb314@hotmail.com
        Regression: No

ethernet/dec/tulip/tulip_core.c:592]: (style) Array index 'j' is used before
limits check.

            for (j = 0; buf[j] != 0xee && j < 1600; j++)

Suggest put limit check before index use.

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2014-07-10 12:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-10 12:50 Stephen Hemminger [this message]
2014-07-11  0:01 ` [Bug 79811] New: ethernet/dec/tulip/tulip_core.c:592: array index check in wrong place ? David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140710055022.652ce61d@samsung-9 \
    --to=stephen@networkplumber.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox