PXE is a catch-all image format with no signature checks. If an unsupported image file is loaded, it will be treated as a PXE image. In most cases, the image will be too large to be loaded as a PXE image (which has to fit in base memory), so the error returned to the user will be that the segment could not fit within the memory region. Add an explicit check to pxe_image.c to reject images larger than base memory with ENOEXEC. Add ENOEXEC to the error string table.tags/v0.9.4
|
|
||
84 |
|
84 |
|
85 |
|
85 |
|
86 |
|
86 |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
87 |
|
95 |
|
88 |
|
96 |
|
89 |
|
97 |
|
|
|
||
118 |
|
118 |
|
119 |
|
119 |
|
120 |
|
120 |
|
|
121 |
|
|
121 |
|
122 |
|