lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a6nnv82d.fsf@toke.dk>
Date:   Fri, 18 Jun 2021 11:24:58 +0200
From:   Toke Høiland-Jørgensen <toke@...hat.com>
To:     Anton Ivanov <anton.ivanov@...-begemot.co.uk>,
        netdev@...r.kernel.org
Subject: Re: NULL pointer dereference in libbpf

Anton Ivanov <anton.ivanov@...-begemot.co.uk> writes:

> https://elixir.bootlin.com/linux/latest/source/tools/lib/bpf/bpf.c#L91
>
> A string is copied to a pointer destination which has been memset to
> zero a few lines above.

No, it isn't. attr.map_name is an array...

-Toke

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ