-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Labels
status: waiting for informationMore information must be provided before work can proceedMore information must be provided before work can proceedtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
This code sets the member _manufacturerData to an array on the stack:
https://github.com/arduino-libraries/ArduinoBLE/blob/master/src/utility/GAP.cpp#L63
the program may crash or write nonsense into the advertising data when dereferencing that pointer again in:
https://github.com/arduino-libraries/ArduinoBLE/blob/master/src/utility/GAP.cpp#L108
Metadata
Metadata
Assignees
Labels
status: waiting for informationMore information must be provided before work can proceedMore information must be provided before work can proceedtype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project