> > My atari kernel hangs in this strncmp().
> > shstr is 0x4c60f4 and it looks invalid because
> > kernel end is 0x277d48 and shdr is 0x277d7c.
> 
> It looks like the elf header is broken for some reason.  If the  
> section header section is not present then its index should have been  
> set to 0.

Old bootloaders might be so lazy (due to size restriction etc).
We can't fix existing installed bootloaders and it's better
to keep old bootloaders usable.

Can't we add some sanity checks (address range etc.) in kernel?
---
Izumi Tsutsui

Reply via email to