]> source.dussan.org Git - gitea.git/commit
Prevent panic on git blame by limiting lines to 4096 bytes at most (#13470)
authorzeripath <art27@cantab.net>
Tue, 10 Nov 2020 02:14:02 +0000 (02:14 +0000)
committerGitHub <noreply@github.com>
Tue, 10 Nov 2020 02:14:02 +0000 (21:14 -0500)
commit182b5a08ed211331d86b74ff78a7ab2962b9655b
treef8e17e9ee8a4aa0aecb95cb98311aab1180a9949
parent40c4466641ea79225b7c5b6dfd81efe049078841
Prevent panic on git blame by limiting lines to 4096 bytes at most (#13470)

Fix #12440
Closes #13192

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
modules/git/blame.go