Re: [PATCH BlueZ v1 1/3] sdp-xml: Fix leaking the parse stack on malformed input
| Newsgroups | org.kernel.vger.linux-bluetooth |
|---|---|
| Message-ID | <178707826163.2194892.8557582282057693653.git-patchwork-notify@kernel.org> |
Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>: On Fri, 14 Aug 2026 13:47:29 -0400 you wrote: > From: Luiz Augusto von Dentz <[email protected]> > > sdp_xml_parse_record() frees its context but never the elements left on > ctx_data->stack_head. > > element_end() returns early without popping the stack when it rejects a > document, for instance on a mismatched </sequence> close, so a malformed > record leaves its elements behind and they are never freed. > > [...] Here is the summary with links: - [BlueZ,v1,1/3] sdp-xml: Fix leaking the parse stack on malformed input https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=97521ab4dd79 - [BlueZ,v1,2/3] unit/test-sdp-xml: Give each test its own test_data (no matching commit) - [BlueZ,v1,3/3] sdp: Fix memory leak when freeing alternates (no matching commit) You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html