Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix improper boundary checks and reference count leaks
Boundary checks allow for one extra label than the maximum, causing memory corruption. Also, when a label is changed, reference to old nexthop has to be released. Two harmless boundary checks in nexthop subysystem is also addressed. Change-Id: I7c7e8cd39797d8d203cac8087d5e31cf02438452 Closes-BUG: #1446550
- Loading branch information
1 parent
838be48
commit bec0c79
Showing
2 changed files
with
36 additions
and
18 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