Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/718#discussion_r37435429
  
    --- Diff: 
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/BridgeVifDriver.java
 ---
    @@ -287,7 +287,7 @@ private void deleteExitingLinkLocalRouteTable(String 
linkLocalBr) {
                 for (String line : lines) {
                     String[] tokens = line.split(" ");
                     if (!tokens[2].equalsIgnoreCase(linkLocalBr)) {
    --- End diff --
    
    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) {
       continue;
    }
    
    final String device = tokens[2];
    if (!Strings.isNullOrEmpty(device) &&
        !device.equalsIgnoreCase(linkLocalBr)) {
    
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to