Description of changes:
In the vpc-branch-pat-eni plugin, an optional branch IP address is parsed. In order to accomplish this, ipAddr is dereferenced. While err is checked against nil, the check is after ipAddr is dereferenced, which may result in a nil pointer dereference panic.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description of changes: In the vpc-branch-pat-eni plugin, an optional branch IP address is parsed. In order to accomplish this, ipAddr is dereferenced. While err is checked against nil, the check is after ipAddr is dereferenced, which may result in a nil pointer dereference panic.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.