← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1215338] Re: for-loop iteration may cause crash

 

[Expired for DC++ because there has been no activity for 60 days.]

** Changed in: dcplusplus
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1215338

Title:
  for-loop iteration may cause crash

Status in DC++:
  Expired

Bug description:
  SearchFrame.cpp, method void SearchFrame::addResult(SearchResultPtr
  psr), when you iterate through searchResults (for(auto& si2:
  searchResults) {), emplace_back on searchResults invalidates auto&
  si2, so                             si2.srs.push_back(psr); may cause
  crash

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1215338/+subscriptions


References