Commit f5ce3bc
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 <mlombard@bsdbackstore.eu>
Signed-off-by: Daniel Wagner <dwagner@suse.de>1 parent abe29d0 commit f5ce3bc
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
637 | 637 | | |
638 | 638 | | |
639 | 639 | | |
| 640 | + | |
| 641 | + | |
640 | 642 | | |
641 | 643 | | |
642 | 644 | | |
643 | 645 | | |
644 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
645 | 652 | | |
646 | 653 | | |
647 | 654 | | |
| |||
2992 | 2999 | | |
2993 | 3000 | | |
2994 | 3001 | | |
2995 | | - | |
2996 | | - | |
2997 | 3002 | | |
2998 | 3003 | | |
2999 | | - | |
3000 | | - | |
3001 | | - | |
3002 | | - | |
3003 | | - | |
3004 | | - | |
3005 | 3004 | | |
3006 | 3005 | | |
3007 | 3006 | | |
| |||
0 commit comments