DescriptionMemory allocation for WriteInto is not proper.
Memory for WriteInto() should be greater than the url length,
As in the WriteInto() it reserve the memory of size 'length_with_null'
and then resize it to "length_with_null-1'
Chnage done to give memory 1 greater than the url length size.
BUG=417732
Committed: https://crrev.com/64d81572b36829960001fc34314604f71c6bd50a
Cr-Commit-Position: refs/heads/master@{#297102}
Patch Set 1 #
Total comments: 2
Patch Set 2 : changes as per review comments. #Patch Set 3 : changes as per review comments. #Patch Set 4 : . #
Messages
Total messages: 14 (3 generated)
|