Skip to content

Bail out gracefully on malformed kern table headers. - #12291

Merged
bors-servo merged 1 commit into
servo:masterfrom
mbrubeck:font-panic
Jul 7, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
mbrubeck:font-panic

Conversation

@mbrubeck

@mbrubeck mbrubeck commented Jul 6, 2016 •

Copy link
Copy Markdown
Contributor

This changes a debug assert to a debug log and early return.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Panic instantiating a font #12081 (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because I'm just removing an assertion

This change is Reviewable

@highfive highfive assigned ghost Jul 6, 2016
@highfive

highfive commented Jul 6, 2016

Copy link
Copy Markdown

warning Warning warning

  • These commits modify gfx code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 6, 2016
@ghost

ghost commented Jul 7, 2016

Copy link
Copy Markdown

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 5582fcc has been approved by Wafflespeanut

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 7, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 5582fcc with merge bbba536...

bors-servo pushed a commit that referenced this pull request Jul 7, 2016
Bail out gracefully on malformed kern table headers.

This changes a debug assert to a debug log and early return.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #12081 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I'm just removing an assertion

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12291)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-css

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 7, 2016
@mbrubeck

mbrubeck commented Jul 7, 2016

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

  • infrastructure issue?

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 5582fcc with merge b3c58f2...

bors-servo pushed a commit that referenced this pull request Jul 7, 2016
Bail out gracefully on malformed kern table headers.

This changes a debug assert to a debug log and early return.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #12081 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I'm just removing an assertion

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12291)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jul 7, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit 5582fcc into servo:master Jul 7, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 7, 2016
@mbrubeck
mbrubeck deleted the font-panic branch May 2, 2017 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic instantiating a font

3 participants