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

stylo: Fix missing null terminator in error reporting code. #19915

Merged
merged 1 commit into from Jan 31, 2018

Conversation

@emilio
Copy link
Member

emilio commented Jan 31, 2018

This was causing the patch in bug 1420026 to fail.


This change is Reviewable

@highfive
Copy link

highfive commented Jan 31, 2018

Heads up! This PR modifies the following files:

  • @bholley: ports/geckolib/error_reporter.rs, components/style/error_reporting.rs
  • @canaltinova: components/style/error_reporting.rs
@highfive
Copy link

highfive commented Jan 31, 2018

warning Warning warning

  • These commits modify style code, but no tests are modified. Please consider adding a test!
@emilio
Copy link
Member Author

emilio commented Jan 31, 2018

@highfive highfive assigned jdm and unassigned Manishearth Jan 31, 2018
@jdm
Copy link
Member

jdm commented Jan 31, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2018

📌 Commit d88f171 has been approved by jdm

This was causing the patch in bug 1420026 to fail.
@emilio emilio force-pushed the emilio:color-errors-whee branch from d88f171 to d82c54b Jan 31, 2018
@emilio
Copy link
Member Author

emilio commented Jan 31, 2018

@bors-servo r=jdm

Fixed another one, yay c++

@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2018

📌 Commit d82c54b has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Jan 31, 2018

Testing commit d82c54b with merge 4bd0590...

bors-servo added a commit that referenced this pull request Jan 31, 2018
stylo: Fix missing null terminator in error reporting code.

This was causing the patch in bug 1420026 to fail.

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

bors-servo commented Jan 31, 2018

@bors-servo bors-servo merged commit d82c54b into servo:master Jan 31, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
bors-servo added a commit that referenced this pull request Feb 4, 2018
Use cstr macro for ffi literal strings

Use `cstr!()` macro with `CStr` to ensure that literal strings used with FFI is properly nul-terminated to avoid cases like #19915.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19925)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this pull request Feb 14, 2018
Use cstr macro for ffi literal strings

Use `cstr!()` macro with `CStr` to ensure that literal strings used with FFI is properly nul-terminated to avoid cases like #19915.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19925)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.