Re: [PATCH 0/2] mmc: core: null pointer dereference bug

2017-03-16 Thread Ulf Hansson
On 15 March 2017 at 09:48, Tobin C. Harding wrote: > Various functions take as parameter an optional pointer. Pointer > should be guarded with non-NULL check before dereferencing. > > While fixing this bug it was found that the file contains multiple > functions doing variations on

Re: [PATCH 0/2] mmc: core: null pointer dereference bug

2017-03-16 Thread Ulf Hansson
On 15 March 2017 at 09:48, Tobin C. Harding wrote: > Various functions take as parameter an optional pointer. Pointer > should be guarded with non-NULL check before dereferencing. > > While fixing this bug it was found that the file contains multiple > functions doing variations on the same

[PATCH 0/2] mmc: core: null pointer dereference bug

2017-03-15 Thread Tobin C. Harding
Various functions take as parameter an optional pointer. Pointer should be guarded with non-NULL check before dereferencing. While fixing this bug it was found that the file contains multiple functions doing variations on the same thing, sdio_readb(), sdio_writeb(), sdio_readw(), sdio_writew()

[PATCH 0/2] mmc: core: null pointer dereference bug

2017-03-15 Thread Tobin C. Harding
Various functions take as parameter an optional pointer. Pointer should be guarded with non-NULL check before dereferencing. While fixing this bug it was found that the file contains multiple functions doing variations on the same thing, sdio_readb(), sdio_writeb(), sdio_readw(), sdio_writew()