Re: [PATCH BlueZ v2 1/4] sdp-xml: Use a queue to collect sequence members
| Newsgroups | org.kernel.vger.linux-bluetooth |
|---|---|
| Message-ID | <178707826022.2194892.16036865943202250756.git-patchwork-notify@kernel.org> |
Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>: On Mon, 17 Aug 2026 17:00:35 -0400 you wrote: > From: Luiz Augusto von Dentz <[email protected]> > > Appending a member to a sequence with sdp_seq_append() walks the > single-linked list to find its tail, so building a sequence is O(n^2). > > This was previously worked around by caching the tail of the sequence in > struct sdp_xml_data, which required the caller to pick between appending > to the cached tail and initialising val.dataseq, and to keep the cache in > sync on every append. > > [...] Here is the summary with links: - [BlueZ,v2,1/4] sdp-xml: Use a queue to collect sequence members https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=b21edc49b2c3 - [BlueZ,v2,2/4] sdp-xml: Fix leaking the parse stack on malformed input https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=97521ab4dd79 - [BlueZ,v2,3/4] sdp: Fix memory leak when freeing alternates https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=078ef10a4531 - [BlueZ,v2,4/4] unit/test-sdp-xml: Add a test parsing alternates https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5abc0045b84a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html