commit | bba01a7fff09e3053ada96ababac2a6e4261fe5f | [log] [tgz] |
---|---|---|
author | tkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Fri Oct 11 06:40:05 2013 |
committer | tkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Fri Oct 11 06:40:05 2013 |
tree | 4653545b94b6aeacbd2685a403ebfccac7e91010 | |
parent | 4b47b3223b4279d1aaa10e496884b221908bb020 [diff] |
Don't crash by form submission in a document with null encoding. The CString object which is passed to normalizeLineEndingsToCRLF() can be a null string. It is created in FormDataList::appendString(), and it produces a null CString if FormDataList::m_encoding is a null encoding. BUG=291744,306086 TEST=automated Review URL: https://codereview.chromium.org/26960002 git-svn-id: svn://svn.chromium.org/blink/trunk@159428 bbb929c8-8fbe-4397-9dbb-9b2b20218538