Re: [PATCH 1/1] procfs: Fix use-after-free

2021-05-24 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le lun. 24 mai 2021 18:43:40 +0300, a ecrit: > Fix several issues with reference counting in > rootdir_make_translated_node (): > > * Grab an additional reference while still holding the lock. > > * Give the node an additional reference for being pointed to > by

[PATCH 1/1] procfs: Fix use-after-free

2021-05-24 Thread Sergey Bugaev
Fix several issues with reference counting in rootdir_make_translated_node (): * Grab an additional reference while still holding the lock. * Give the node an additional reference for being pointed to by the ops. * Reference the existing node if we find it on the second try, not only if we f

[PATCH 0/1] Fix that procfs crash

2021-05-24 Thread Sergey Bugaev
This fixes the procfs crash that happens on shutdown, previously discussed here: https://lists.debian.org/debian-hurd/2021/04/msg00035.html Sergey Bugaev (1): procfs: Fix use-after-free procfs/rootdir.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.31.1