diff options
author | Yi Kong <yikong@google.com> | 2016-10-19 15:46:47 +0100 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2016-10-20 08:42:13 +0000 |
commit | f98287d57549ccaae7b6e8dec9feadd4e0d413c3 (patch) | |
tree | 48f66e508bb54a2cbc46685fd70f2dae8447a08d /annotations/generate_annotated_java_files.py | |
parent | fbf942b816d23e543ace6cda7038e38463a82016 (diff) |
Fix URL parser may return wrong host name
Due to a missing bound check in parseURL, it may include part of the
fragment in the authority field, and returns wrong host name.
Bug: 31858037
Test: libcore.java.net.URLTest#testFragmentWith{Slash,Query}
Change-Id: I1fc39907cc67f6d674a3790070833123fdef9414
(cherry picked from commit 78a4344540081fd229b188504d2fee820b7d452a)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions