Commit 8d58a15
committed
UefiExt: Use String Len Not Sizeof
When calculating what to print when a truncated message is
sent from the debugger, UefiExt was using sizeof(CHAR8 *)
which ended up removing valid characters that the target
debugger had sent.
This fixes it to use the length, not size of the pointer.1 parent 8ea1052 commit 8d58a15
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments