[Bug 311548] New: Potential infinite loop

David Edmundson kde at davidedmundson.co.uk
Wed Dec 12 00:53:47 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=311548

            Bug ID: 311548
          Severity: normal
           Version: 0.5.1
          Priority: NOR
          Assignee: kde-telepathy-bugs at kde.org
           Summary: Potential infinite loop
    Classification: Unclassified
                OS: Linux
          Reporter: kde at davidedmundson.co.uk
          Hardware: Other
            Status: NEW
         Component: kded-module
           Product: telepathy

The kded module has a while loop in
ContactRequestHandler::onContactRequestDenied which reads

while (i != list.constEnd()) {
  if (valid) {
     it++
  }
}

The it++ should obviously be outside the if.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list