* [bluez/bluez] b80c26: obexd: Fix FILE* leak in phonebook-dummy
@ 2026-09-30 14:10 github-actions[bot]
0 siblings, 0 replies; only message in thread
From: github-actions[bot] @ 2026-09-30 14:10 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1176647
Home: https://github.com/bluez/bluez
Commit: b80c2670c8dcdc0abcc2d39eb7aca889abeecb2b
https://github.com/bluez/bluez/commit/b80c2670c8dcdc0abcc2d39eb7aca889abeecb2b
Author: Jinwang Li <jinwang.li@oss.qualcomm.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M obexd/plugins/phonebook-dummy.c
Log Message:
-----------
obexd: Fix FILE* leak in phonebook-dummy
fdopen(fd, "r") transfers ownership of fd to the FILE stream, but the
loop was calling close(fd) directly instead of fclose(fp), leaking the
FILE structure and its stdio buffer on every vCard read. Also handle
fdopen() failure, which was previously unchecked.
Signed-off-by: Jinwang Li <jinwang.li@oss.qualcomm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-30 14:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 14:10 [bluez/bluez] b80c26: obexd: Fix FILE* leak in phonebook-dummy github-actions[bot]
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.