-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net_ws: Fix possible reference count leak.
It was possible for module references to be leaked by net_ws, since find_route increases the module refcount (e.g. of mod_webmail), but on certain off-nominal failure paths, the module refcount was never decremented since we would jump to an exit path further in the cleanup process. These have been adjusted so that all jumps after find_route will clean up the previously leaked refcount. This is likely the underlying issue that prompted LBBS-3.
- Loading branch information
1 parent
22f1615
commit e7b63f3
Showing
3 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters