lkml.org 
[lkml]   [2021]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] fix a couple of atm->phy_data related issues
Date
there are two drivers(zatm and idt77252) using PRIV() (i.e. atm->phy_data)
to store private data, but the driver happens to populate wrong
pointers: atm->dev_data. which actually cause null-ptr-dereference in
following PRIV(dev). This patch series attemps to fix those two issues
along with a typo in atm struct.

Tong Zhang (3):
atm: fix a typo in the struct description
atm: uPD98402: fix incorrect allocation
atm: idt77252: fix null-ptr-dereference

drivers/atm/idt77105.c | 4 ++--
drivers/atm/uPD98402.c | 2 +-
include/linux/atmdev.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2021-03-08 04:27    [W:0.658 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site