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

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 6 Aug 2019 09:51:47 +0200

Am 06/08/2019 um 05:18 schrieb waddlesplash:

ec2b89264cfc: oce_if: fix oout of bounds access
[...]
-       POCE_INTR_INFO ii = &sc->intrs[vector];

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.

Bye,
   Axel.

Other related posts: