1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 01:15:48 +00:00
gitea/services
6543 b7ad2d4557
* Handle incomplete diff files properly (#13669)
The code for parsing diff hunks has a bug whereby a very long line in a very long diff would not be completely read leading to an unexpected character.

  This PR ensures that the line is completely cleared

* Also allow git max line length <4096

* Add test case

Fix #13602

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Andrew Thornton <art27@cantab.net>
2020-11-22 15:57:28 +02:00
..
comments Refactor pull request review (#8954) 2019-11-14 10:57:36 +08:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
gitdiff * Handle incomplete diff files properly (#13669) 2020-11-22 15:57:28 +02:00
issue Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
mailer Fix "only mail on mention" bug (#12775) (#12789) 2020-09-10 11:32:54 +03:00
mirror Mirror: Update DB on Address-Update too (#12964) (#12967) 2020-09-28 21:52:13 +02:00
pull Fix error create comment on outdated file (#13041) (#13042) 2020-10-06 14:38:08 +08:00
release Backport to v1.12 for #12341 - Release date fix (#12351) 2020-07-28 14:10:50 -04:00
repository Fix repository create/delete event webhooks (#13008) (#13027) 2020-10-04 17:42:03 -04:00
wiki Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00