Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Issue 26960002: Don't crash by form submission in a document with null encoding. (Closed)

Created:
7 years, 2 months ago by tkent
Modified:
7 years, 2 months ago
CC:
blink-reviews
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159428

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
A LayoutTests/fast/forms/form-submit-in-image-document.html View 1 chunk +26 lines, -0 lines 0 comments Download
A + LayoutTests/fast/forms/form-submit-in-image-document-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/text/LineEnding.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tkent
7 years, 2 months ago (2013-10-11 01:54:41 UTC) #1
Kunihiko Sakamoto
lgtm
7 years, 2 months ago (2013-10-11 02:03:56 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/26960002/1
7 years, 2 months ago (2013-10-11 02:05:15 UTC) #3
commit-bot: I haz the power
7 years, 2 months ago (2013-10-11 06:40:08 UTC) #4
Message was sent while issue was closed.
Change committed as 159428

Powered by Google App Engine
This is Rietveld 408576698