In the function __vmalloc() in mm/vmalloc.c. The function
is parsing the "size" parameter passed to it. If the request
is of zero bytes or if it is greater than num_physpages,
then __vmalloc calls BUG(). The NULL pointer is never
returned, which causes the segmentation fault. This BUG()
call was correctly removed for 2.5.
- Robbie
(See attached file: vmalloc.c.patch)
Robert V. Williamson <robbiew@us.ibm.com>
Linux Test Project
IBM Linux Technology Center
Phone: (512) 838-9295 T/L: 678-9295
Fax: (512) 838-4603
Web: http://ltp.sourceforge.net
IRC: #ltp on freenode.irc.net
====================
"Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former." -Albert Einstein
-
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 Feb 23 2003 - 22:00:18 EST