[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:21:32 -0400

On Tue, Aug 6, 2019 at 10:18 AM Adrien Destugues
<pulkomandy@xxxxxxxxxxxxx> wrote:

In this case we are just taking the address of an array cell, not actually
accessing the array. This is still:
1) Confusing
2) Undefined behavior

But still it should not result in a segfault because we access memory after 
the array.


Good call, I overlooked the &.

Regards,

Rene

Other related posts: