Skip to content

Commit

Permalink
Fix crash when running MCORE_FS_1_2 (#35320)
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson authored Aug 30, 2024
1 parent 1912865 commit 37ad0f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/fabric-admin/commands/pairing/PairingCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ namespace {

CHIP_ERROR GetPayload(const char * setUpCode, SetupPayload & payload)
{
VerifyOrReturnValue(setUpCode, CHIP_ERROR_INVALID_ARGUMENT);
bool isQRCode = strncmp(setUpCode, kQRCodePrefix, strlen(kQRCodePrefix)) == 0;
if (isQRCode)
{
Expand Down

0 comments on commit 37ad0f7

Please sign in to comment.