]> source.dussan.org Git - gitea.git/commit
Fix nil pointer panic when exec some gitea cli command (#28791)
authoryp05327 <576951401@qq.com>
Mon, 15 Jan 2024 07:43:53 +0000 (16:43 +0900)
committerGitHub <noreply@github.com>
Mon, 15 Jan 2024 07:43:53 +0000 (07:43 +0000)
commitc7e4629c0245cf6731ea34c2aa6ba4b968ea184a
treef760e43b7955473a7aa1a921c16e4b74a5d61a98
parent5d3fdd121279c758f247a76e020799aa5e548feb
Fix nil pointer panic when exec some gitea cli command (#28791)

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)
modules/private/actions.go
modules/private/key.go
modules/private/mail.go