linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #07366
[Bug 1215338] [NEW] for-loop iteration may cause crash
Public bug reported:
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
** Affects: dcplusplus
Importance: Undecided
Status: New
--
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++:
New
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
Follow ups
References