Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since we count nested processes from zero, we need to check that nested level value is not bigger than MAX_DEPTH - 1. This patch also remove shared pointer which counts number of levels and replace it with a regular scalar value. Signed-off-by: Andrea Cervesato <[email protected]> Reviewed-by: Richard Palethorpe <[email protected]> Reported-by: Martin Doucha <[email protected]> Reported-by: Petr Cervinka <[email protected]> Reported-by: Wei Gao <[email protected]>
- Loading branch information