[bluez/bluez] e56fc7: gatt: add return value check of io_get_fd() to soc...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: e56fc72fc66765f407473e4cb903fdc80784a4ff
      https://github.com/bluez/bluez/commit/e56fc72fc66765f407473e4cb903fdc80784a4ff
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M src/gatt-database.c

  Log Message:
  -----------
  gatt: add return value check of io_get_fd() to sock_io_send()

It is necessary to add a return value check.

Found with the SVACE static analysis tool.


  Commit: ba70a116d97108f21a853f5549758a720fdbefb3
      https://github.com/bluez/bluez/commit/ba70a116d97108f21a853f5549758a720fdbefb3
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M src/shared/vcp.c

  Log Message:
  -----------
  shared/vcp: add NULL checks to foreach_aics_service()

Make foreach_aics_service() safe for passing NULL pointers.

Found with the SVACE static analysis tool.


  Commit: 12525371ef082483d524447310da7d0f5866bf91
      https://github.com/bluez/bluez/commit/12525371ef082483d524447310da7d0f5866bf91
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M client/player.c

  Log Message:
  -----------
  client/player: add error code handling to transport_recv()

It is necessary to add return value check as in sock_send().

Found with the SVACE static analysis tool.


  Commit: 7ffc08dd78d68eff15bb77e43efbc1b606fb4fd8
      https://github.com/bluez/bluez/commit/7ffc08dd78d68eff15bb77e43efbc1b606fb4fd8
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M src/shared/vcp.c

  Log Message:
  -----------
  shared/vcp: prevent dereferencing of NULL pointers

util_memdup() will terminate the program if memory
allocation fails.

Found with the SVACE static analysis tool.


  Commit: cf3d80a01f1f21538148cb9a5569b678dad0848b
      https://github.com/bluez/bluez/commit/cf3d80a01f1f21538148cb9a5569b678dad0848b
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M client/player.c

  Log Message:
  -----------
  client/player: fix the order of args in cmd_register_endpoint()

Based on the function prototype, ep->cid and ep->vid should be swapped.

Found with the SVACE static analysis tool.


  Commit: 7a45038dc1e505afbaa49f8dd64fd41dab627f23
      https://github.com/bluez/bluez/commit/7a45038dc1e505afbaa49f8dd64fd41dab627f23
  Author: Roman Smirnov <r.smirnov@xxxxxx>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M src/shared/gatt-client.c

  Log Message:
  -----------
  shared/gatt-client: add NULL check to discover_secondary_cb()

It is necessary to prevent dereferencing of a NULL pointer.

Found with the SVACE static analysis tool.


Compare: https://github.com/bluez/bluez/compare/4ca662fcea16...7a45038dc1e5

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux