Code:  void ParamTraits<GURL>::Write(Message* m, const GURL& p) {
   DCHECK(p.possibly_invalid_spec().length() <= content::kMaxURLChars);
   m->WriteString(p.possibly_invalid_spec());
 }

Vulnerability Type: Bypass 
CWE ID: CWE-264
Summary: Google Chrome before 24.0.1312.52 allows remote attackers to bypass the Same Origin Policy via a malformed URL.
Commit Message: Beware of print-read inconsistency when serializing GURLs.
BUG=165622


Review URL: https://chromiumcodereview.appspot.com/11576038

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173583 0039d316-1c4b-4281-b951-d872f2087c98