Commit b149a99 ([build] Round up SUBx deltas) introduced a signed/unsigned issue that affects gPXE images built on 32-bit hosts. The zbin fixup utility performed an unsigned division, which led to .usb images with an incorrect number of sectors to load. The issue snuck by on 64-bit hosts since uint32_t is promoted to long. On 32-bit hosts it is promoted to unsigned long. Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>tags/v0.9.8
|
|
||
213 |
|
213 |
|
214 |
|
214 |
|
215 |
|
215 |
|
216 |
|
|
|
|
216 |
|
|
|
217 |
|
|
217 |
|
218 |
|
218 |
|
219 |
|
219 |
|
220 |
|
|
|
||
224 |
|
225 |
|
225 |
|
226 |
|
226 |
|
227 |
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
230 |
|
231 |
|
231 |
|
232 |
|
232 |
|
233 |
|