* grub-core/net/drivers/ieee1275/ofnet.c: Don't attempt to send more
than buffer size.
This commit is contained in:
		
							parent
							
								
									a3d566d442
								
							
						
					
					
						commit
						b7d17a492f
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -79,7 +79,7 @@ send_card_buffer (struct grub_net_card *dev, struct grub_net_buff *pack) | |||
| 
 | ||||
|   grub_memcpy (dev->txbuf, pack->data, len); | ||||
|   status = grub_ieee1275_write (data->handle, dev->txbuf, | ||||
| 				pack->tail - pack->data, &actual); | ||||
| 				len, &actual); | ||||
| 
 | ||||
|   if (status) | ||||
|     return grub_error (GRUB_ERR_IO, N_("couldn't send network packet")); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue