qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] multiboot: check mh_load_end_addr address field


From: P J P
Subject: Re: [Qemu-devel] [PATCH] multiboot: check mh_load_end_addr address field
Date: Tue, 6 Mar 2018 00:05:58 +0530 (IST)

+-- On Wed, 28 Feb 2018, P J P wrote --+
| While loading kernel via multiboot-v1 image, (flags & 0x00010000)
| indicates that multiboot header contains valid addresses to load
| the kernel image. In that, end of the data segment address
| 'mh_load_end_addr' should be less than the bss segment address
| 'mh_bss_end_addr'. Add check to validate that.
| 
| +        if (mh_load_end_addr > mh_bss_end_addr) {
| +            fprintf(stderr, "invalid mh_load_end_addr address\n");
| +            exit(1);
| +        }
|  

Ping...!
--
Prasad J Pandit / Red Hat Product Security Team
47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F



reply via email to

[Prev in Thread] Current Thread [Next in Thread]