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

Issue 1147883002: Cleanup some PPAPI proxy code. (Closed)

Created:
5 years, 7 months ago by Lei Zhang
Modified:
5 years, 7 months ago
Reviewers:
raymes
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup some PPAPI proxy code. Check for potential overflows in PDFResource::SearchString(). Committed: https://crrev.com/c1f16bd8639372d9e45cdac4e384a550d561af2e Cr-Commit-Position: refs/heads/master@{#330675}

Patch Set 1 #

Patch Set 2 : fix accidental memcpy removal #

Total comments: 3

Patch Set 3 : SIZE_MAX #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M ppapi/proxy/flash_font_file_resource.h View 2 chunks +6 lines, -8 lines 0 comments Download
M ppapi/proxy/flash_font_file_resource.cc View 2 chunks +9 lines, -10 lines 0 comments Download
M ppapi/proxy/pdf_resource.cc View 1 2 1 chunk +9 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Lei Zhang
5 years, 7 months ago (2015-05-19 22:20:02 UTC) #2
raymes
lgtm https://codereview.chromium.org/1147883002/diff/20001/ppapi/proxy/pdf_resource.cc File ppapi/proxy/pdf_resource.cc (right): https://codereview.chromium.org/1147883002/diff/20001/ppapi/proxy/pdf_resource.cc#newcode104 ppapi/proxy/pdf_resource.cc:104: std::numeric_limits<size_t>::max() / sizeof(PP_PrivateFindResult)) { Would it be simpler ...
5 years, 7 months ago (2015-05-20 00:26:48 UTC) #3
Lei Zhang
https://codereview.chromium.org/1147883002/diff/20001/ppapi/proxy/pdf_resource.cc File ppapi/proxy/pdf_resource.cc (right): https://codereview.chromium.org/1147883002/diff/20001/ppapi/proxy/pdf_resource.cc#newcode104 ppapi/proxy/pdf_resource.cc:104: std::numeric_limits<size_t>::max() / sizeof(PP_PrivateFindResult)) { On 2015/05/20 00:26:48, raymes wrote: ...
5 years, 7 months ago (2015-05-20 00:30:48 UTC) #4
Lei Zhang
https://codereview.chromium.org/1147883002/diff/20001/ppapi/proxy/pdf_resource.cc File ppapi/proxy/pdf_resource.cc (right): https://codereview.chromium.org/1147883002/diff/20001/ppapi/proxy/pdf_resource.cc#newcode104 ppapi/proxy/pdf_resource.cc:104: std::numeric_limits<size_t>::max() / sizeof(PP_PrivateFindResult)) { On 2015/05/20 00:30:48, Lei Zhang ...
5 years, 7 months ago (2015-05-20 00:46:34 UTC) #5
raymes
That's ok, I'll leave it up to you :) I was mainly just thinking from ...
5 years, 7 months ago (2015-05-20 00:48:52 UTC) #6
Lei Zhang
5 years, 7 months ago (2015-05-20 00:53:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1147883002/40001
5 years, 7 months ago (2015-05-20 00:58:36 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-20 02:01:38 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-20 02:04:31 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c1f16bd8639372d9e45cdac4e384a550d561af2e
Cr-Commit-Position: refs/heads/master@{#330675}

Powered by Google App Engine
This is Rietveld 408576698