The existing code intends to print NULL strings as "<NULL>" (for the sake of debug messages), but the logic is incorrect when handling wide-character strings. Fix the logic and add applicable unit tests. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
257 | 257 |
|
258 | 258 |
|
259 | 259 |
|
260 |
|
|
261 |
|
|
260 | 262 |
|
261 | 263 |
|
264 |
|
|
265 |
|
|
262 | 266 |
|
263 |
|
|
264 |
|
|
265 | 267 |
|
266 | 268 |
|
267 | 269 |
|
|
||
108 | 108 |
|
109 | 109 |
|
110 | 110 |
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
111 | 115 |
|
112 | 116 |
|
113 | 117 |
|