shared/gatt-client: Fix not checking valid ranges
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 1 Dec 2022 01:45:09 +0000 (17:45 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 10:11:34 +0000 (15:41 +0530)
commit6db4ad719d2c16167577561f62d8ed7a403315df
tree5a3b79cb12eca10ebe9afdb3f78a18bc00df9ec9
parent0e5e805617ab84c6c52e84036f1fad8c5068d3e3
shared/gatt-client: Fix not checking valid ranges

When attempting to update discovery ranges the code shall verify if the
range is still valid (handles != 0x0000 and start < end).
src/shared/gatt-client.c