Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that we don't modify the Dict data when the Differences array of a font contains indirect objects #6940

Merged
merged 1 commit into from
Jan 31, 2016
Merged

Ensure that we don't modify the Dict data when the Differences array of a font contains indirect objects #6940

merged 1 commit into from
Jan 31, 2016

Conversation

Snuffleupagus
Copy link
Collaborator

This patch fixes an issue that I inadvertently introduced in PR #5815, where we accidentally modify the Differences array in the encoding dictionary for indirect objects.

Instead of this change, we could also have used the now existing Dict_getArray. However in this case I don't think that would have been a good idea, since it would mean iterating through the array twice.

…ray of a font contains indirect objects

This patch fixes an issue that I inadvertently introduced in PR 5815, where we accidentally modify the `Differences` array in the encoding dictionary for indirect objects.

Instead of this change, we could also have used the now existing `Dict_getArray`. However in this case I don't think that would have been a good idea, since it would mean iterating through the array *twice*.
@Snuffleupagus
Copy link
Collaborator Author

It appears that Firefox on Linux now fails consistently after ecma262-pdf, not just for this PR.

@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/f33b2902a217abf/output.txt

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.22.172.223:8877/2a533e531504241/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/78ddae238b14376/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/2a533e531504241/output.txt

Total script time: 19.97 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/78ddae238b14376/output.txt

Total script time: 21.49 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@timvandermeij
Copy link
Contributor

The bot is fine again, but I have opened #6944 to track the failures we see lately.

timvandermeij added a commit that referenced this pull request Jan 31, 2016
…objects

Ensure that we don't modify the `Dict` data when the `Differences` array of a font contains indirect objects
@timvandermeij timvandermeij merged commit a4b9024 into mozilla:master Jan 31, 2016
@timvandermeij
Copy link
Contributor

Thank you!

@Snuffleupagus Snuffleupagus deleted the differences-fix-indirect-objects branch January 31, 2016 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants