Bug: NULL pointer dereference in master/device.c behoben.
--- a/devices/8139too.c Tue Feb 14 14:53:41 2006 +0000
+++ b/devices/8139too.c Mon Feb 20 08:30:30 2006 +0000
@@ -1,6 +1,6 @@
/******************************************************************************
*
- * drv_8139too.c
+ * 8 1 3 9 t o o . c
*
* EtherCAT-Treiber für RTL8139-kompatible Netzwerkkarten.
*
--- a/master/device.c Tue Feb 14 14:53:41 2006 +0000
+++ b/master/device.c Mon Feb 20 08:30:30 2006 +0000
@@ -347,7 +347,7 @@
int EtherCAT_dev_is_ec(ec_device_t *ecd, struct net_device *dev)
{
- return ecd->dev == dev;
+ return ecd && ecd->dev == dev;
}
/*****************************************************************************/