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

guard against a malformed block length in PhutilRemarkupEngine #20

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

Roguelazer
Copy link

@Roguelazer Roguelazer commented Dec 7, 2021

Somehow, a record ended up with a remarkup block whose num_lines is bigger than the block itself. Maybe some kind of race condition with editing a comment? Anyhow, this prevents phab from exploding.

@Roguelazer Roguelazer requested a review from mwaldt December 7, 2021 19:15
Copy link

@mwaldt mwaldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Roguelazer Roguelazer merged commit 9f96e78 into easypost-patches Dec 7, 2021
@Roguelazer Roguelazer deleted the safety-remarkup branch December 7, 2021 19:22
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.

2 participants