Details

[Home]

Issue of the Implementation # L0018

Brief

drivers/net/hamradio/yam.c: Null dereference

Detailed Description

Null dereference in driver drivers/net/hamradio/yam.c in function yam_init_driver: Path:

  • 1. If in line 1153 dev = NULL then we goto line 1154
  • 2. In line 1155 we have null dereference of "dev->name".
  • 1153                 if (!dev) {
    1154                         printk(KERN_ERR "yam: cannot allocate net device 
    %s
    ",
    1155                                dev->name);
    1156                         err = -ENOMEM;
    1157                         goto error;
    1158                 }
    

    Component

    linux-kernel 2.6.32

    Accepted

    http://lkml.org/lkml/2009/12/21/140
    commit

    Status

    Fixed in kernel 2.6.35-rc1

    [Home]