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

Lamarque V. Souza <lamar...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|http://commits.kde.org/plas |http://commits.kde.org/plas
                   |ma-nm/669c25e2153c64733ed6f |ma-nm/e6e341a5c2c1bc9292e1e
                   |64c9600aa182c0eb156         |67603ea52795e33fe8a

--- Comment #10 from Lamarque V. Souza <lamar...@kde.org> ---
Git commit e6e341a5c2c1bc9292e1e67603ea52795e33fe8a by Lamarque V. Souza.
Committed on 28/07/2016 at 13:20.
Pushed by lvsouza into branch 'Plasma/5.7'.

Fix crash when activating VPN connection.

std::sort() expects the lambda to return true if left is less than right, but
it returns true when they are equal too. According to this [1] that can lead to
an unsorted array internally and that can lead to a crash like this one.

[1]
http://stackoverflow.com/questions/7767998/should-stdsort-work-with-lambda-function-in-c0x-c11

M  +1    -1    libs/declarative/networkstatus.cpp

http://commits.kde.org/plasma-nm/e6e341a5c2c1bc9292e1e67603ea52795e33fe8a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to