Chromium Code Reviews
DescriptionFix ParseCIDRBlock() to no longer accept invalid inputs.
ParseCIDRBlock() currently accepts invalid inputs when the prefix contains a leading plus sign: "192.168.1.1/+1". This CL updates ParseCIDRBlock() to reject these inputs as invalid.
BUG=596258
Committed: https://crrev.com/8a14cbc731ec72162def8a3122a91ce1a235752b
Cr-Commit-Position: refs/heads/master@{#382366}
Patch Set 1 : #Patch Set 2 : #
Total comments: 2
Patch Set 3 : added a TODO #
Messages
Total messages: 17 (9 generated)
|
||||||||||||||||||||||||||||