lkml.org 
[lkml]   [2009]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectBUG null dereference in driver ./drivers/net/hamradio/yam.c
Date
        KERNEL_VERSION: 2.6.32
SUBJECT: null derefernce in function __init yam_init_driver
SUBSCRIBE:
In driver drivers/net/hamradio/yam.c in function __init
yam_init_driver:

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\n",
1155 dev->name);
1156 err = -ENOMEM;
1157 goto error;
1158 }

Found by Linux Device Drivers Verification Project (Svace Detector)


\
 
 \ /
  Last update: 2009-12-21 17:11    [W:0.043 / U:31.460 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site