Commit a24f115
committed
[Valgrind] Fix buffer overflow in stack header reading
The `tnewheader` buffer is eventually passed to `strlen()`. This was
causing a buffer overrun because the buffer was not nul-terminated.(imported from commit 505ff33)1 parent ef89e27 commit a24f115
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
| 423 | + | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
| |||
0 commit comments