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

--- Comment #12 from Fabio <ctrlal...@gmail.com> ---
(In reply to Marcel Hasler from comment #11)
> The point I was trying to make is that by the time freerdp actually calls
> _strdup, both temporary QByteArray instances have already been destroyed and
> the pointers are therefore no longer valid.

It's true in your code example in
https://bugs.kde.org/show_bug.cgi?id=482137#c9 because of the curly braces
specifically added to declare data1 inside a different scope.
It's not true in the code used in the fix for krdc:
https://invent.kde.org/network/krdc/-/merge_requests/114/diffs

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

Reply via email to