Re: [net-bluetooth] question about potential null pointer dereference

2017-06-09 Thread Marcel Holtmann
Hi Gustavo, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE SC SMP crypto functions 167 * AES-CMAC, f4, f5, f6, g2 and h6. 168 */ 169 170static int

Re: [net-bluetooth] question about potential null pointer dereference

2017-06-09 Thread Marcel Holtmann
Hi Gustavo, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE SC SMP crypto functions 167 * AES-CMAC, f4, f5, f6, g2 and h6. 168 */ 169 170static int

Re: [net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hi Marcel, Quoting "Gustavo A. R. Silva" : Hi Marcel, Quoting Marcel Holtmann : Hi Gustavo, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE

Re: [net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hi Marcel, Quoting "Gustavo A. R. Silva" : Hi Marcel, Quoting Marcel Holtmann : Hi Gustavo, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE SC SMP crypto functions 167 * AES-CMAC, f4,

Re: [net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hi Marcel, Quoting Marcel Holtmann : Hi Gustavo, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE SC SMP crypto functions 167 * AES-CMAC, f4, f5, f6, g2 and h6. 168 */

Re: [net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hi Marcel, Quoting Marcel Holtmann : Hi Gustavo, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE SC SMP crypto functions 167 * AES-CMAC, f4, f5, f6, g2 and h6. 168 */ 169 170static int

Re: [net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Marcel Holtmann
Hi Gustavo, > While looking into Coverity ID 1357456 I ran into the following piece of code > at net/bluetooth/smp.c:166 > > 166/* The following functions map to the LE SC SMP crypto functions > 167 * AES-CMAC, f4, f5, f6, g2 and h6. > 168 */ > 169 > 170static int aes_cmac(struct crypto_shash

Re: [net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Marcel Holtmann
Hi Gustavo, > While looking into Coverity ID 1357456 I ran into the following piece of code > at net/bluetooth/smp.c:166 > > 166/* The following functions map to the LE SC SMP crypto functions > 167 * AES-CMAC, f4, f5, f6, g2 and h6. > 168 */ > 169 > 170static int aes_cmac(struct crypto_shash

[net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hello everybody, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE SC SMP crypto functions 167 * AES-CMAC, f4, f5, f6, g2 and h6. 168 */ 169 170static int aes_cmac(struct crypto_shash *tfm,

[net-bluetooth] question about potential null pointer dereference

2017-05-30 Thread Gustavo A. R. Silva
Hello everybody, While looking into Coverity ID 1357456 I ran into the following piece of code at net/bluetooth/smp.c:166 166/* The following functions map to the LE SC SMP crypto functions 167 * AES-CMAC, f4, f5, f6, g2 and h6. 168 */ 169 170static int aes_cmac(struct crypto_shash *tfm,