-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit 031f2c6
uefi: memory safety fixes (UB!) in SNP Protocol
Parameter mutability was used in the wrong way.
I also double-checked everything in the specification [0].
[0] https://uefi.org/specs/UEFI/2.10/24_Network_Protocols_SNP_PXE_BIS.html#efi-simple-network-nvdata 1 parent 90c5ba4 commit 031f2c6
2 files changed
+13
-9
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | + | ||
27 | + | ||
26 | 28 |
| |
27 | 29 |
| |
28 | 30 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
142 | 142 |
| |
143 | 143 |
| |
144 | 144 |
| |
145 | - | ||
146 | - | ||
147 | - | ||
145 | + | ||
146 | + | ||
147 | + | ||
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
151 | 151 |
| |
152 | 152 |
| |
153 | - | ||
154 | - | ||
153 | + | ||
154 | + | ||
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
160 | - | ||
161 | - | ||
160 | + | ||
161 | + | ||
162 | + | ||
162 | 163 |
| |
163 | 164 |
| |
164 | 165 |
| |
165 | 166 |
| |
166 | 167 |
| |
167 | - | ||
168 | - | ||
168 | + | ||
169 | + | ||
170 | + | ||
169 | 171 |
| |
170 | 172 |
| |
171 | 173 |
| |
|
0 commit comments