-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix panic in EscapeReader #18820
Fix panic in EscapeReader #18820
Conversation
There is a potential panic due to a mistaken resetting of the length parameter when multibyte characters go over a read boundary. Signed-off-by: Andrew Thornton <art27@cantab.net>
Backport go-gitea#18820 There is a potential panic due to a mistaken resetting of the length parameter when multibyte characters go over a read boundary. Signed-off-by: Andrew Thornton <art27@cantab.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch.
Codecov Report
@@ Coverage Diff @@
## main #18820 +/- ##
=======================================
Coverage ? 46.62%
=======================================
Files ? 853
Lines ? 122469
Branches ? 0
=======================================
Hits ? 57099
Misses ? 58481
Partials ? 6889
Continue to review full report at Codecov.
|
* giteaofficial/main: Fix panic in EscapeReader (go-gitea#18820) Put buttons back in org dashboard (go-gitea#18817) Generate coverage with sqlite. (go-gitea#18813) Update on-cloud-provider.md (go-gitea#18807)
There is a potential panic due to a mistaken resetting of the length parameter when multibyte characters go over a read boundary. Signed-off-by: Andrew Thornton <art27@cantab.net>
There is a potential panic due to a mistaken resetting of the length parameter when
multibyte characters go over a read boundary.
Signed-off-by: Andrew Thornton art27@cantab.net