lkml.org 
[lkml]   [1998]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bug in vmalloc?
I forgot to mention that the line

if (size + addr < (unsigned long) tmp->addr)
break;

in get_vm_area uses the original, smaller, size variable, and so could
"squeeze" the virtual area just before another one, and then upon
freeing mess up that following virtual area. This is probably quite
unlikely, and would explain why it hasn't been noticed yet.

I hope I'm right after posting this...

Neil.

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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.028 / U:2.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site