Commit ba342a6
committed
memmod: do not use IsBadReadPtr
It should be enough to check for the trailing zero name.
Signed-off-by: Jason A. Donenfeld <[email protected]>1 parent f9a2178 commit ba342a6
File tree
4 files changed
+11
-61
lines changed- tun/wintun/memmod
4 files changed
+11
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
307 | 317 | | |
308 | 318 | | |
309 | 319 | | |
| |||
312 | 322 | | |
313 | 323 | | |
314 | 324 | | |
315 | | - | |
| 325 | + | |
316 | 326 | | |
317 | 327 | | |
318 | 328 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
328 | | - | |
329 | 327 | | |
330 | 328 | | |
331 | 329 | | |
| |||
This file was deleted.
0 commit comments