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

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-nm/-/commit/ca844
                   |                            |683ae902fd90614adf888032a60
                   |                            |47955884
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from David Edmundson <[email protected]> ---
Git commit ca844683ae902fd90614adf888032a6047955884 by David Edmundson.
Committed on 30/05/2026 at 06:29.
Pushed by davidedmundson into branch 'master'.

Avoid use of references across a co_await

It's common practice to pass a reference to a string into a method, even
though copying strings in Qt is extremely fast.

This is only fine for the first invocation, after a co_await it ends up
being a dangling reference. This would crash on the second iteration of
the loop.

M  +4    -1    libs/handler.cpp

https://invent.kde.org/plasma/plasma-nm/-/commit/ca844683ae902fd90614adf888032a6047955884

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

Reply via email to