-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken tag handling in QRCodeSetupPayloadParser. (#13201)
The only reason this worked in any way is that TLV::IsProfileTag() tests true for small integers, so the VerifyOrReturnError was a no-op, even though we were testing IsContextTag() and IsProfileTag() on the tag _number_, not the tag. Per spec, only context tags are allowed here, so just allow those. Fixes #10188
- Loading branch information
1 parent
9bd635b
commit 5441301
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters