]> source.dussan.org Git - gitea.git/commit
Fix nil pointer panic when exec some gitea cli command (#28791) (#28795)
authorGiteabot <teabot@gitea.io>
Mon, 15 Jan 2024 08:05:30 +0000 (16:05 +0800)
committerGitHub <noreply@github.com>
Mon, 15 Jan 2024 08:05:30 +0000 (08:05 +0000)
commitdf694f6a7d72141e11f12a9cba6f0850a7e8e186
tree711858ea5ab5654770b6f30d5535f3803033bdd4
parent84282c608cdb4ea5006d2b2f81f7d97c631a2b87
Fix nil pointer panic when exec some gitea cli command (#28791) (#28795)

Backport #28791 by @yp05327

panic:

![image](https://github.com/go-gitea/gitea/assets/18380374/7fcde2ad-1d42-4b60-b120-3b60a8926e8e)

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/49d9f0ca-e590-4a35-8ca2-1317d1b7c939)

Co-authored-by: yp05327 <576951401@qq.com>
modules/private/actions.go
modules/private/key.go
modules/private/mail.go