Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: Add the check that socket domain is equal to bound address type,…
… when do bind. When do socket bind, if the connection domain is not equal to the bound address type, this will cause the stack-buffer-overflow. Signed-off-by: liqinhui <liqinhui@xiaomi.com>
- Loading branch information
1 parent
9a654b6
commit 5d0135c
Showing
2 changed files
with
18 additions
and
0 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