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

Issue 284733002: bspatch: Report errors on MBS_ApplyPatch. (Closed)

Created:
6 years, 7 months ago by deymo
Modified:
6 years, 7 months ago
Reviewers:
grt (UTC plus 2)
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

bspatch: Report errors on MBS_ApplyPatch. ApplyBinaryPatch() returns an integer value different from 0 on error when opening files. Nevertheless, it doesn't report the errors when they happen on the underlying MBS_ApplyPatch() function. BUG=None TEST=Manually compiled and called ApplyBinaryPatch with an invalid patch. Function returns error instead of 0. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270266

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M third_party/bspatch/README.chromium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/bspatch/mbspatch.cc View 2 chunks +2 lines, -2 lines 3 comments Download

Messages

Total messages: 14 (0 generated)
deymo
Hi Greg, you seem to be the last one touching code that uses this mbspatch. ...
6 years, 7 months ago (2014-05-13 00:33:31 UTC) #1
grt (UTC plus 2)
https://codereview.chromium.org/284733002/diff/1/third_party/bspatch/mbspatch.cc File third_party/bspatch/mbspatch.cc (right): https://codereview.chromium.org/284733002/diff/1/third_party/bspatch/mbspatch.cc#newcode266 third_party/bspatch/mbspatch.cc:266: ret = MBS_ApplyPatch(&header, pfd, buf, nfd); nice catch. shouldn't ...
6 years, 7 months ago (2014-05-13 15:10:05 UTC) #2
deymo
https://codereview.chromium.org/284733002/diff/1/third_party/bspatch/mbspatch.cc File third_party/bspatch/mbspatch.cc (right): https://codereview.chromium.org/284733002/diff/1/third_party/bspatch/mbspatch.cc#newcode266 third_party/bspatch/mbspatch.cc:266: ret = MBS_ApplyPatch(&header, pfd, buf, nfd); On 2014/05/13 15:10:06, ...
6 years, 7 months ago (2014-05-13 18:14:40 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/284733002/diff/1/third_party/bspatch/mbspatch.cc File third_party/bspatch/mbspatch.cc (right): https://codereview.chromium.org/284733002/diff/1/third_party/bspatch/mbspatch.cc#newcode266 third_party/bspatch/mbspatch.cc:266: ret = MBS_ApplyPatch(&header, pfd, buf, nfd); On 2014/05/13 18:14:40, ...
6 years, 7 months ago (2014-05-13 18:37:04 UTC) #4
deymo
> oh, ha. i didn't notice that it was while(0). in that case, lgtm. Yeah, ...
6 years, 7 months ago (2014-05-13 18:49:49 UTC) #5
deymo
The CQ bit was checked by deymo@chromium.org
6 years, 7 months ago (2014-05-13 18:50:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/284733002/1
6 years, 7 months ago (2014-05-13 18:51:06 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-13 20:54:35 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-13 20:59:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/74040)
6 years, 7 months ago (2014-05-13 20:59:17 UTC) #10
deymo
The CQ bit was checked by deymo@chromium.org
6 years, 7 months ago (2014-05-13 21:25:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/deymo@chromium.org/284733002/1
6 years, 7 months ago (2014-05-13 21:28:04 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-13 23:15:04 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-14 00:27:24 UTC) #14
Message was sent while issue was closed.
Change committed as 270266

Powered by Google App Engine
This is Rietveld 408576698