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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |http://commits.kde.org/plas
                   |                            |ma-nm/669c25e2153c64733ed6f
                   |                            |64c9600aa182c0eb156

--- Comment #9 from Lamarque V. Souza <lamar...@kde.org> ---
Git commit 669c25e2153c64733ed6f64c9600aa182c0eb156 by Lamarque V. Souza.
Committed on 28/07/2016 at 11:57.
Pushed by lvsouza into branch 'master'.

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/669c25e2153c64733ed6f64c9600aa182c0eb156

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

Reply via email to