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

Issue 7651002: Adding checks to guard against buffer overruns in QuotaFileIO::Write and base::FileUtilProxy::Write (Closed)

Created:
9 years, 4 months ago by sanga
Modified:
9 years, 4 months ago
CC:
chromium-reviews, piman+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Adding checks to guard against buffer overruns in QuotaFileIO::Write and base::FileUtilProxy::Write Also made some minor changes to fix lint warnings. There are no tests for base::FileUtilProxy. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2076 TEST= test_shell_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97147

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M base/file_util_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/file_util_proxy.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/c/ppb_file_io.h View 3 chunks +4 lines, -3 lines 1 comment Download
M webkit/plugins/ppapi/quota_file_io.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/quota_file_io.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/quota_file_io_unittest.cc View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sanga
9 years, 4 months ago (2011-08-15 22:49:15 UTC) #1
sanga
9 years, 4 months ago (2011-08-16 19:39:37 UTC) #2
brettw
LGTM
9 years, 4 months ago (2011-08-16 22:45:09 UTC) #3
noelallen_use_chromium
This change modified a comment in the *.h directly instead of modifying the *.idl and ...
9 years, 4 months ago (2011-08-17 18:55:26 UTC) #4
noelallen_use_chromium
9 years, 4 months ago (2011-08-17 18:56:10 UTC) #5
http://codereview.chromium.org/7651002/diff/9001/ppapi/c/ppb_file_io.h
File ppapi/c/ppb_file_io.h (right):

http://codereview.chromium.org/7651002/diff/9001/ppapi/c/ppb_file_io.h#newcod...
ppapi/c/ppb_file_io.h:195: * PP_ERROR_FAILED.
These changes will be lost on the next generation.

Powered by Google App Engine
This is Rietveld 408576698