Commit: 25c23ffca7e6c1aba67ae685ba3fc9060efacd82
Parent: 295ec99499c9061b0b9c1cbfc834b1cc7d7b1290
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-04-28 23:30:24
Tree: 1d45b5a4586faa9bf2b1a4f178f785116963c5b5

client/mgmt: Fix comparison of narrow type with wide type in loop condition In a loop condition, comparison of a value of a narrow type with a value of a wide type may result in unexpected behavior if the wider value is sufficiently large (or small). Fixes: https://github.com/bluez/bluez/issues/1211

Diffstat

M client/mgmt.c | 4 ++- -

1 files changed, 2 insertions(+), 2 deletions(-)

View Full Diff | Patch