]> source.dussan.org Git - gitea.git/commit
Prevent panic on git blame by limiting lines to 4096 bytes at most (#13491)
author6543 <6543@obermui.de>
Tue, 10 Nov 2020 08:00:20 +0000 (09:00 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Nov 2020 08:00:20 +0000 (08:00 +0000)
commit8049de82f98274f5efeb9de3d50d9bc98869abbd
tree6ec359d19c8a53f11ae4383d238fdcf49df002bd
parent797cb38a4a6e702f959dceeb35d8503133879892
Prevent panic on git blame by limiting lines to 4096 bytes at most (#13491)

Fix #12440
Closes #13192

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