Re: [PATCH] wext: handle NULL exta data in iwe_stream_add_point better

From: Arnd Bergmann
Date: Wed Jan 11 2017 - 10:00:09 EST


On Wed, Jan 11, 2017 at 3:38 PM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Wed, 2017-01-11 at 15:35 +0100, Arnd Bergmann wrote:

>> This works fine here because iwe->u.data.length is guaranteed to be
>> NULL, and the memcpy doesn't actually have an effect.
>
> I think you mean 0, not NULL, but I can fix that when I apply it.

Right, thanks!

Arnd