kernel stack overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all , 

i was just trying to overflow the kernel stack of a
process , so i tried to initialize a large arraay in
init function of a module , and i got two different
behaviours for two different sizes :

1.  char array[ 8 * 1024 ] = {0} - machine freezes ,
when i insmod the module . ultimately i have to press
reset .

2.  char array[ 7 * 1024 ] = {0} - machine reboots , 
everytime i insmod the module . 

i am not understanding the reason difference in the
behaviours . plz explain the cause of two different
behaviours .

thanx

rgds ,
pankaj chauhan 

________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux