Hrm, the additional AI review found one more deep inside of the patch
...

"""
obex_get_image() guards !player->obex but not obex_session->obex. If 
CreateSession failed (player->obex non-NULL, inner proxy NULL — the exact case 
PR #2631 addresses) and a Track change carries an ImgHandle, path becomes NULL 
and path + strlen(BLUEZ_OBEX_CLIENT_PATH "/") produces a garbage pointer fed to 
g_strconcat() → crash. Note this gap is identical in upstream PR #2098, so 
carrying it faithfully mirrors upstream; but the patch Description's claim of 
"NULL guards to all four dereference sites" slightly overstates. If you want it 
closed, it's a one-liner — change the guard to if (!player->obex || 
!player->obex->obex) return; — but I don't consider it a blocker since it 
matches upstream #2098 and the window (failed CreateSession + ImgHandle 
present) is narrow.
"""

Since https://github.com/bluez/bluez/pull/2631 is not merged upstream
(and AFAIU never will as it was submitted the wrong way - the repo no
more accepts PRs). Given that it is not yet accepted I'd not ask to make
it part of this upload, but you may help this to be recognized upstream
to be also fixes in the next versino?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172906

Title:
  mpris-proxy segfault (NULL deref in find_player_by_obex) triggers
  apport crash dialog during Bluetooth OBEX file transfer on 26.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/2172906/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to