Commit 4e3fa2e
tree: cleanup paths when freeing namespace
When freeing a namespace object it's also necessary to update all the
paths pointing to the namespace in order to avoid UAF.
Reported-by: Maurizio Lombardi <[email protected]>
Signed-off-by: Daniel Wagner <[email protected]>1 parent 5be98d6 commit 4e3fa2e
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| 635 | + | |
| 636 | + | |
635 | 637 | | |
636 | 638 | | |
637 | 639 | | |
638 | 640 | | |
639 | 641 | | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
640 | 647 | | |
641 | 648 | | |
642 | 649 | | |
| |||
3001 | 3008 | | |
3002 | 3009 | | |
3003 | 3010 | | |
3004 | | - | |
3005 | | - | |
3006 | 3011 | | |
3007 | 3012 | | |
3008 | | - | |
3009 | | - | |
3010 | | - | |
3011 | | - | |
3012 | | - | |
3013 | | - | |
3014 | 3013 | | |
3015 | 3014 | | |
3016 | 3015 | | |
| |||
0 commit comments