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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 17 Jun 2024 16:28:55 +0200 (CEST)
From: Christian Kujau <lists@...dbynature.de>
To: Péter Ujfalusi <peter.ujfalusi@...el.com>
cc: patchwork-bot+netdevbpf@...nel.org, 
    Mohammad Shehar Yaar Tausif <sheharyaar48@...il.com>, martin.lau@...ux.dev, 
    ast@...nel.org, daniel@...earbox.net, andrii@...nel.org, eddyz87@...il.com, 
    song@...nel.org, yonghong.song@...ux.dev, john.fastabend@...il.com, 
    kpsingh@...nel.org, sdf@...gle.com, haoluo@...gle.com, jolsa@...nel.org, 
    bpf@...r.kernel.org, linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] bpf: fix order of args in call to bpf_map_kvcalloc

On Wed, 12 Jun 2024, Péter Ujfalusi wrote:
> kernel/bpf/bpf_local_storage.c: In function ‘bpf_local_storage_map_alloc’:
> kernel/bpf/bpf_local_storage.c:785:60: error: ‘kvmalloc_array_node_noprof’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
>   785 |         smap->buckets = bpf_map_kvcalloc(&smap->map, sizeof(*smap->buckets),

This happens here as well. Configuration attached.

Thanks,
Christian.
-- 
BOFH excuse #149:

Dew on the telephone lines.
View attachment "config.txt" of type "text/plain" (28360 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ