Patch(2.5.51): __pnp_add_device dereferenced bad pointer

From: Adam J. Richter (adam@yggdrasil.com)
Date: Sun Dec 15 2002 - 05:58:27 EST


        __pnp_add_device dereferences a bad pointer when it traverses
the dev->id chain, because id->next is not initialized in certain cases,
causing my Sony Picturebook pcg-c1vn to crash at boot. Here is a patch.

-- 
Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:32 EST