[haiku-commits] Re: haiku: hrev53346 - src/add-ons/kernel/drivers/network/emulex_oce/dev/oce

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 6 Aug 2019 10:16:09 -0400

On Tue, Aug 6, 2019 at 3:51 AM Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

This doesn't really access anything yet, though; it just sets 'ii' to
something that would be out of bounds only if you'd actually try to
access it, which wasn't done yet. IOW it just pleases the tool.

Are you sure? If the array in question is near the edge of a page
boundary, overflowing it with an out of bounds access could certainly
lead to a read access violation. A corner case, I know, but not
impossible.

Regards,

Rene

Other related posts: