Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7947)

Issue 4659041: Fix some problems detected by coverity. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by Steve VanDeBogart
Modified:
13 years, 5 months ago
Reviewers:
Chris Guillory
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

Fix some problems detected by coverity. - Uninitialized class member in GSCanonicalEntry and SkPDFDocument. - Incorrect sign extension in SkPDFFont. - Dead code in SkPDFUtils. CID=16262,16272,16273,16275 Committed: http://code.google.com/p/skia/source/detail?r=1668

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M include/pdf/SkPDFGraphicState.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/pdf/SkPDFDocument.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M src/pdf/SkPDFFont.cpp View 1 chunk +2 lines, -1 line 2 comments Download
M src/pdf/SkPDFUtils.cpp View 1 chunk +0 lines, -2 lines 2 comments Download

Messages

Total messages: 4
Steve VanDeBogart
13 years, 5 months ago (2011-06-21 20:51:19 UTC) #1
Chris Guillory
LGTM. One nit. http://codereview.appspot.com/4659041/diff/1/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): http://codereview.appspot.com/4659041/diff/1/src/pdf/SkPDFFont.cpp#newcode50 src/pdf/SkPDFFont.cpp:50: *size = (size_t)buf[2] | ((size_t)buf[3] << ...
13 years, 5 months ago (2011-06-21 21:01:11 UTC) #2
Steve VanDeBogart
http://codereview.appspot.com/4659041/diff/1/src/pdf/SkPDFFont.cpp File src/pdf/SkPDFFont.cpp (right): http://codereview.appspot.com/4659041/diff/1/src/pdf/SkPDFFont.cpp#newcode50 src/pdf/SkPDFFont.cpp:50: *size = (size_t)buf[2] | ((size_t)buf[3] << 8) | ((size_t)buf[4] ...
13 years, 5 months ago (2011-06-21 21:08:05 UTC) #3
Chris Guillory
13 years, 5 months ago (2011-06-21 21:18:08 UTC) #4
SGTM.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b