From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 216020] drivers/usb/ folder compilation with allyesconfig fails
Date: Tue, 24 May 2022 18:48:44 +0000 [thread overview]
Message-ID: <bug-216020-208809-PT2UEOc0F4@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-216020-208809@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=216020
--- Comment #3 from Alan Stern (stern@rowland.harvard.edu) ---
The warnings about ene_ub6250.c are accurate. The driver uses (EntryOffset %
512) to index a 512-byte buffer and dereferences a 16-bit value at that
location, without checking for proper alignment. It then dereferences another
16-bit value located 10 bytes farther on, without checking for overflow.
Not having the specs for this type of device, I don't know how this is meant to
work. Perhaps EntryOffset % 512 is always supposed to be 0. But perhaps not,
so I don't want to make any hasty changes.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
prev parent reply other threads:[~2022-05-24 18:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-24 14:58 [Bug 216020] New: drivers/usb/ folder compilation with allyesconfig fails bugzilla-daemon
2022-05-24 15:07 ` Greg KH
2022-05-24 15:07 ` [Bug 216020] " bugzilla-daemon
2022-05-24 15:16 ` bugzilla-daemon
2022-05-24 18:48 ` bugzilla-daemon [this message]
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=bug-216020-208809-PT2UEOc0F4@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-usb@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