Messages in this thread | | | Subject | [PATCH] BUG() call in vmalloc.c causes segmentation fault. | From | "Robert Williamson" <> | Date | Mon, 17 Feb 2003 11:16:20 -0500 |
| |
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 [unhandled content-type:application/octet-stream]
| |