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

Issue 2263263003: hunspell: Changed signed char* to unsigned char* (Closed)

Created:
4 years, 4 months ago by Kevin Bailey
Modified:
4 years, 4 months ago
Reviewers:
groby-ooo-7-16
CC:
chromium-reviews, groby+spellwatch_chromium.org, rlp+watch_chromium.org, rouslan+spell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed signed char* to unsigned char*, fuzzer fix Fuzzer reports undefined behavior precisely at the locations where it performs a left shift on a signed char. Changing it to a regular char makes the errors go away. Since the function is doing lots of bit manipulation, a signed char seems inappropriate anyways. All spellcheck tests pass with regular char. The upstream github history (that I could find) shows that it has always been signed, so I couldn't find a reason why it changed, if it ever did. BUG=620659, 624348 Committed: https://crrev.com/e87c5a27a35c73cc8b099742d914d79d7543deea Cr-Commit-Position: refs/heads/master@{#414095}

Patch Set 1 #

Patch Set 2 : Explicit unsigned and formatting #

Patch Set 3 : Updated google.patch #

Patch Set 4 : Unformatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -6 lines) Patch
M third_party/hunspell/google.patch View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
M third_party/hunspell/src/hunspell/csutil.cxx View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
Kevin Bailey
In case it hasn't sent an email yet...
4 years, 4 months ago (2016-08-23 15:19:07 UTC) #4
groby-ooo-7-16
On 2016/08/23 15:19:07, Kevin Bailey wrote: > In case it hasn't sent an email yet... ...
4 years, 4 months ago (2016-08-23 15:23:58 UTC) #5
Kevin Bailey
On 2016/08/23 15:23:58, groby wrote: > On 2016/08/23 15:19:07, Kevin Bailey wrote: > > In ...
4 years, 4 months ago (2016-08-23 16:05:07 UTC) #6
groby-ooo-7-16
On 2016/08/23 16:05:07, Kevin Bailey wrote: > On 2016/08/23 15:23:58, groby wrote: > > On ...
4 years, 4 months ago (2016-08-23 17:28:42 UTC) #7
Kevin Bailey
On 2016/08/23 17:28:42, groby wrote: > > I'm terribly sorry to say this, but: Please ...
4 years, 4 months ago (2016-08-23 18:07:21 UTC) #8
please use gerrit instead
On 2016/08/23 18:07:21, Kevin Bailey wrote: > I'll see what rouslan and phadjan want to ...
4 years, 4 months ago (2016-08-23 18:08:45 UTC) #9
groby-ooo-7-16
On 2016/08/23 18:08:45, rouslan wrote: > On 2016/08/23 18:07:21, Kevin Bailey wrote: > > I'll ...
4 years, 4 months ago (2016-08-23 19:23:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2263263003/60001
4 years, 4 months ago (2016-08-24 16:51:31 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-24 16:57:42 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 17:00:32 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e87c5a27a35c73cc8b099742d914d79d7543deea
Cr-Commit-Position: refs/heads/master@{#414095}

Powered by Google App Engine
This is Rietveld 408576698