Skip to content

properties_changed: check for NULL iterator

Christian Eggers linux-bluetooth 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 16 repliesIn review
  2. v19 patches 1 replyApplied

Changes in v2 from the cover letter

----
- 7/9: don't call memcpy(x, NULL, 0) [Scan Build]
- 9/9: shorten GIT summary [GitLint]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9advertising: parse_secondary: fix loop conditionsrc/advertising.c+1 -115 replies
2/9advertising: parse_secondary: fix mask valuesrc/advertising.c+1 -10 replies
3/9advertising: parse_secondary: check for NULL iteratorsrc/advertising.c+6 -00 replies
4/9advertising: parse_min_interval: reset min_interval if iter is NULLsrc/advertising.c+3 -10 replies
5/9advertising: parse_[min|max]_interval: reset value if iter is NULLsrc/advertising.c+3 -10 replies
6/9advertising: parse_tx_power: reset value if iter is NULLsrc/advertising.c+3 -10 replies
7/9client/gatt: proxy_property_changed: check for NULL iteratorclient/gatt.c+10 -70 replies
8/9gatt: proxy_property_changed: check for NULL iteratorsrc/gatt-database.c+11 -90 replies
9/9battery: provided_battery_property_changed_cb: check iteratorsrc/battery.c+6 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH BlueZ v2 0/9] properties_changed: check for NULL iterator

v2:
----
- 7/9: don't call memcpy(x, NULL, 0) [Scan Build]
- 9/9: shorten GIT summary [GitLint]

Christian Eggers (9):
advertising: parse_secondary: fix loop condition
advertising: parse_secondary: fix mask value
advertising: parse_secondary: check for NULL iterator
advertising: parse_min_interval: reset min_interval if iter is NULL
advertising: parse_[min|max]_interval: reset value if iter is NULL
advertising: parse_tx_power: reset value if iter is NULL client/gatt: proxy_property_changed: check for NULL iterator
gatt: proxy_property_changed: check for NULL iterator
battery: provided_battery_property_changed_cb: check iterator

 client/gatt.c       | 17 ++++++++++-------
 src/advertising.c   | 22 +++++++++++++++++-----
 src/battery.c       | 10 ++++++----
 src/gatt-database.c | 20 +++++++++++---------
 4 files changed, 44 insertions(+), 25 deletions(-)
Signature · 1 line
2.35.3