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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun,  8 Oct 2017 19:43:36 +1100 (AEDT)
From:   Michael Ellerman <>
To:     Seth Forshee <>,
        Benjamin Herrenschmidt <>,
        Paul Mackerras <>
Cc:     Seth Forshee <>,,
Subject: Re: powerpc: Always initialize input array when calling epapr_hypercall()

On Thu, 2017-09-28 at 13:33:39 UTC, Seth Forshee wrote:
> Several callers to epapr_hypercall() pass an uninitialized stack
> allocated array for the input arguments, presumably because they
> have no input arguments. However this can produce errors like
> this one
>  arch/powerpc/include/asm/epapr_hcalls.h:470:42: error: 'in' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>   unsigned long register r3 asm("r3") = in[0];
>                                         ~~^~~
> Fix callers to this function to always zero-initialize the input
> arguments array to prevent this.
> Signed-off-by: Seth Forshee <>

Applied to powerpc next, thanks.


Powered by blists - more mailing lists