All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] 4eead4: Fixed heap-buffer-overflow in `compute_seq_size`.
@ 2025-08-10  6:57 Oliver Chang
  0 siblings, 0 replies; only message in thread
From: Oliver Chang @ 2025-08-10  6:57 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/989673
  Home:   https://github.com/bluez/bluez
  Commit: 4eead430b267e1a06792cc9fa90d91a7b7ef75c1
      https://github.com/bluez/bluez/commit/4eead430b267e1a06792cc9fa90d91a7b7ef75c1
  Author: Oliver Chang <ochang@google.com>
  Date:   2025-08-10 (Sun, 10 Aug 2025)

  Changed paths:
    M src/sdp-xml.c

  Log Message:
  -----------
  Fixed heap-buffer-overflow in `compute_seq_size`.

By adding checks for sequence/alternate types in element_end to avoid a
type confusion.

This issue was found by OSS-Fuzz.

This can be triggered by using an input of
`<sequence><foo/><text/></sequence>` against the harness in
https://github.com/google/oss-fuzz/blob/master/projects/bluez/fuzz_xml.c

https://issues.oss-fuzz.com/issues/42516062
https://oss-fuzz.com/testcase-detail/5896441415729152



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:[~2025-08-10  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-10  6:57 [bluez/bluez] 4eead4: Fixed heap-buffer-overflow in `compute_seq_size` Oliver Chang

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.