lkml.org 
[lkml]   [2003]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH] BUG() call in vmalloc.c causes segmentation fault.
From
Date

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]
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.017 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site