-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix length checks on inputs to ascii2hexstr() for WPS+NFC commands
The previously used checks were assuming incorrect direction for hexdump/binary conversion and could have resulted in buffer write overflow with invalid input. The used buffers were long enough to avoid issues with valid input of maximum SSID/passphrase length, i.e., this does not show up in normal CAPI operations. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 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
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