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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190116.092147.2222967221278304230.davem@davemloft.net>
Date:   Wed, 16 Jan 2019 09:21:47 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     rppt@...ux.ibm.com
Cc:     linux-mm@...ck.org, akpm@...ux-foundation.org,
        catalin.marinas@....com, hch@....de, dennis@...nel.org,
        geert@...ux-m68k.org, green.hu@...il.com,
        gregkh@...uxfoundation.org, gxt@....edu.cn, guoren@...nel.org,
        heiko.carstens@...ibm.com, msalter@...hat.com, mattst88@...il.com,
        jcmvbkbc@...il.com, mpe@...erman.id.au, monstr@...str.eu,
        paul.burton@...s.com, pmladek@...e.com, dalias@...c.org,
        richard@....at, robh+dt@...nel.org, linux@...linux.org.uk,
        shorne@...il.com, tony.luck@...el.com, vgupta@...opsys.com,
        ysato@...rs.sourceforge.jp, devicetree@...r.kernel.org,
        kasan-dev@...glegroups.com, linux-alpha@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, linux-c6x-dev@...ux-c6x.org,
        linux-ia64@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-m68k@...ts.linux-m68k.org, linux-mips@...r.kernel.org,
        linux-s390@...r.kernel.org, linux-sh@...r.kernel.org,
        linux-snps-arc@...ts.infradead.org, linux-um@...ts.infradead.org,
        linux-usb@...r.kernel.org, linux-xtensa@...ux-xtensa.org,
        linuxppc-dev@...ts.ozlabs.org, openrisc@...ts.librecores.org,
        sparclinux@...r.kernel.org, uclinux-h8-devel@...ts.sourceforge.jp,
        x86@...nel.org, xen-devel@...ts.xenproject.org
Subject: Re: [PATCH 15/21] sparc: add checks for the return value of
 memblock_alloc*()

From: Mike Rapoport <rppt@...ux.ibm.com>
Date: Wed, 16 Jan 2019 15:44:15 +0200

> Add panic() calls if memblock_alloc*() returns NULL.
> 
> Most of the changes are simply addition of
> 
>         if(!ptr)
>                 panic();
> 
> statements after the calls to memblock_alloc*() variants.
> 
> Exceptions are pcpu_populate_pte() and kernel_map_range() that were
> slightly refactored to accommodate the change.
> 
> Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>

Acked-by: David S. Miller <davem@...emloft.net>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ