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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/solid/commit/233d11f
                   |                            |91ed1b5660ffe9bdba495a3e771
                   |                            |4017aa
         Resolution|---                         |FIXED

--- Comment #4 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit 233d11f91ed1b5660ffe9bdba495a3e7714017aa by Kai Uwe Broulik.
Committed on 28/11/2022 at 12:25.
Pushed by broulik into branch 'master'.

imobiledevice: Check error returned by idevice_new

If the device we query for isn't known, the `device` pointer will
remain untouched according to `idevice.c`, and we leave it dangling.

Instead, check whether it returns `IDEVICE_E_SUCCESS`.

M  +6    -6    src/solid/devices/backends/imobile/imobiledevice.cpp

https://invent.kde.org/frameworks/solid/commit/233d11f91ed1b5660ffe9bdba495a3e7714017aa

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

Reply via email to