Skip to content

Conversation

@rohityadavcloud
Copy link
Member

This tries to avoid cleaning by a device name.

This tries to avoid cleaning by a device name.

Signed-off-by: Rohit Yadav <[email protected]>
@asfbot
Copy link

asfbot commented Aug 19, 2015

cloudstack-pull-rats #352 ABORTED

@remibergsma
Copy link
Contributor

LGTM

@asfbot
Copy link

asfbot commented Aug 19, 2015

cloudstack-pull-analysis #284 ABORTED

@milamberspace
Copy link
Contributor

LGTM

@remibergsma
Copy link
Contributor

@bhaisaab Let's make sure this ends up in master as well!

asfgit pushed a commit that referenced this pull request Aug 19, 2015
This tries to avoid cleaning by a device name.

Signed-off-by: Rohit Yadav <[email protected]>

This closes #718
@rohityadavcloud
Copy link
Member Author

@remibergsma thanks, done.

asfgit pushed a commit that referenced this pull request Aug 19, 2015
This tries to avoid cleaning by a device name.

This closes #718

(cherry picked from commit 74f697a)
Signed-off-by: Rohit Yadav <[email protected]>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)) {

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

rohityadavcloud added a commit to shapeblue/cloudstack that referenced this pull request Aug 24, 2015
rohityadavcloud added a commit to shapeblue/cloudstack that referenced this pull request Aug 24, 2015
rohityadavcloud added a commit to shapeblue/cloudstack that referenced this pull request Aug 26, 2015
rohityadavcloud added a commit to shapeblue/cloudstack that referenced this pull request Aug 26, 2015
asfgit pushed a commit that referenced this pull request Aug 26, 2015
CLOUDSTACK-8749: Add checks to prevent malformed/unexpected inputBased on @jburwell's comment on PR #718

* pr/735:
  CLOUDSTACK-8749: Add checks to prevent malformed/unexpected input

Signed-off-by: Rohit Yadav <[email protected]>
asfgit pushed a commit that referenced this pull request Aug 26, 2015
CLOUDSTACK-8749: Add checks to prevent malformed/unexpected inputBased on @jburwell's comment on PR #718

* pr/733:
  CLOUDSTACK-8749: Add checks to prevent malformed/unexpected input

Signed-off-by: Rohit Yadav <[email protected]>
rohityadavcloud pushed a commit that referenced this pull request Jan 20, 2021
Customize link hover color
Customize loading color
Customize navigation menu color

Fixes #712
Fixes #713
Fixes #714

Signed-off-by: Rohit Yadav <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants