Puthiyaparambil, Aravindh
2006-May-19 19:43 UTC
[Xen-devel] [PATCH][libxc] Bounds check for parray
Add a bounds check for parray in loadelfimage(). Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 19 May 2006, at 20:43, Puthiyaparambil, Aravindh wrote:> Add a bounds check for parray in loadelfimage(). > > Signed-off-by: Aravindh Puthiyaparambil > <aravindh.puthiyaparambil@unisys.com>I added a couple extra sanity checks to parseelfimage which should make this patch unnecessary: 1. Ensure VIRT_BASE is specified if ELF_PADDR_OFFSET is specified. 2. Ensure that VIRT_BASE is less than kernel virtual load address. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Puthiyaparambil, Aravindh
2006-May-21 21:57 UTC
[Xen-devel] RE: [PATCH][libxc] Bounds check for parray
> I added a couple extra sanity checks to parseelfimage which shouldmake> this patch unnecessary: > 1. Ensure VIRT_BASE is specified if ELF_PADDR_OFFSET is specified. > 2. Ensure that VIRT_BASE is less than kernel virtual load address.I did a few tests and everything seems to be fine now. I am not able to get the builder to segfault. Hopefully this has been laid to rest now :-). Thanks, Aravindh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel