Parent: 0001c99c202378f6fd2b60fd62d9ef006228bdd3
Author: Andre Guedes <andre.guedes@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@nokia.com>
Date: 2011-02-23 04:59:47
Tree: 76d708f07589573c60326df080b113077102a4a3
Fix potential bug in le_advertising_report() In the current implementation of le_advertising_report(), the variable 'info' has an invalid memory address after the 'for' loop. If 'info' is dereferenced it will access invalid memory. This patch fixes this potential bug and improves the code's readability.
Diffstat
| M | plugins/hciops.c | | | 15 | ++++++++++- - - - - |
1 files changed, 10 insertions(+), 5 deletions(-)