File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 7
7
- ` boot::memory_map() ` will never return ` Status::BUFFER_TOO_SMALL ` from now on,
8
8
as this is considered a hard internal error where users can't do anything
9
9
about it anyway. It will panic instead.
10
+ - ` SimpleNetwork::transmit ` now passes the correct buffer size argument.
11
+ Previously it incorrectly added the header size to the buffer length, which
12
+ could cause the firmware to read past the end of the buffer.
10
13
11
14
12
15
# uefi - 0.34.1 (2025-02-07)
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ impl SimpleNetwork {
225
225
( self . transmit ) (
226
226
self ,
227
227
header_size,
228
- buffer. len ( ) + header_size ,
228
+ buffer. len ( ) ,
229
229
buffer. as_ptr ( ) . cast ( ) ,
230
230
src_addr. as_ref ( ) ,
231
231
dest_addr. as_ref ( ) ,
You can’t perform that action at this time.
0 commit comments