Re: [PATCH] Ignore PT_NOTE program headers with offset 0.

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


On Fri, 2007-03-16 at 18:08 +0530, Vivek Goyal wrote:
> I think a comment here will help understanding why to check phdr->p_offset
> being non-zero.

Sure, I'll add something.

> That bug seemed to be for a custom setup. Did you ever run into this bug
> while building kernels?

I tripped over this because I was accidentally trying to use a XenLinux
kernel as my crash kernel and it uses notes and hence suffers from the
bug. It won't affect a normal native kernel since they don't use notes.
I just figured I might as well fix it when I noticed it.

It does affect native kernels built from the xen-unstable source since
they (somehow) end up with an empty notes segment. Probably not worth
worrying about since it's probably a xen-unstable problem but it's
possible that the pv_ops xen stuff might do the same thing.

Ian.

_______________________________________________
fastboot mailing list
fastboot@xxxxxxxxxxxxxx
https://lists.osdl.org/mailman/listinfo/fastboot


[Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Linux Media]     [Linux Resources]

Powered by Linux