You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.70. Please mark this comment with 👍 or 👎 to give our bot feedback!
Problem
Things like
strlen(mDeviceName)
are being passed asuint8_t
.mDeviceNameLength
is auint8_t
.mDeviceNameLength + 1
is assumed to fit into auint8_t
.Proposed Solution
Add an explicit check that the device name is not too long, error out if it is.
@vivien-apple @shana-apple
The text was updated successfully, but these errors were encountered: