mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
[downloader] Abort download immediately if buffer resizing fails
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -183,6 +183,8 @@ static int downloader_xfer_deliver ( struct downloader *downloader,
|
||||
|
||||
done:
|
||||
free_iob ( iobuf );
|
||||
if ( rc != 0 )
|
||||
downloader_finished ( downloader, rc );
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user