Commit 64421ac
committed
handle_exit: validate signal name before it is logged
If the command exited due to a signal, restrict the specified signal
name to a string of no more than 10 upper case ASCII characters,
'+', '-', or digits.
Found by Pedro Henrique de Almeida Silva of the
Stack Security Intelligence Research Team1 parent b3ad2f9 commit 64421ac
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
609 | 623 | | |
610 | 624 | | |
611 | 625 | | |
| |||
0 commit comments