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

Issue 5726048: [PDF] Fix name objects containing characters > 0x80 and add a test. (Closed)

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

Description

[PDF] Fix name objects containing characters > 0x80 and add a test. This fixes chrome bug http://crbug.com/115258 Committed: https://code.google.com/p/skia/source/detail?r=3319

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M src/pdf/SkPDFTypes.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Steve VanDeBogart
12 years, 4 months ago (2012-03-03 01:51:28 UTC) #1
reed1
12 years, 4 months ago (2012-03-05 13:29:06 UTC) #2
lgtm -- w/ possible comments

https://codereview.appspot.com/5726048/diff/1/src/pdf/SkPDFTypes.cpp
File src/pdf/SkPDFTypes.cpp (right):

https://codereview.appspot.com/5726048/diff/1/src/pdf/SkPDFTypes.cpp#newcode299
src/pdf/SkPDFTypes.cpp:299: result.append("#");
// mask with 0xFF to avoid sign-extension to negative when char is signed.

https://codereview.appspot.com/5726048/diff/1/tests/PDFPrimitivesTest.cpp
File tests/PDFPrimitivesTest.cpp (left):

https://codereview.appspot.com/5726048/diff/1/tests/PDFPrimitivesTest.cpp#old...
tests/PDFPrimitivesTest.cpp:277: 
// Test that we safely handle chars with the high-bit set, which have to be
handled separately (as hex) from 7bit chars.
Sign in to reply to this message.

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