| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This tries to avoid cleaning by a device name. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
LGTM |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
|
@bhaisaab Let's make sure this ends up in master as well! |
Sorry, something went wrong.
This tries to avoid cleaning by a device name. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #718
There was a problem hiding this comment.
I am concerned about the unchecked array access in the event of malformed/unexpected input. Consider the following as a bit of extra safety in the event of malformed input beginning at line 289:
if (tokens != null && tokens.length < 2) {
// Should we emit a log warning here to indicate that we received an unexpected string format?
continue;
}
final String device = tokens[2];
if (!Strings.isNullOrEmpty(device) &&
!device.equalsIgnoreCase(linkLocalBr)) {
Sorry, something went wrong.
There was a problem hiding this comment.
For this PR we cannot make any changes now that it is merged already; perhaps send a new PR or I can pick it up later.
Sorry, something went wrong.
Based on @jburwell's comment on PR apache#718 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Based on @jburwell's comment on PR apache#718 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Based on @jburwell's comment on PR apache#718 This closes apache#735 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Based on @jburwell's comment on PR apache#718 This closes apache#733 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
| Back | FazBrowse Home | New Git URL |
This tries to avoid cleaning by a device name.