Paweł Bogusławski d5856fece7 SessionUser protection against nil pointer dereference (#21581)
Backport #21358 

`SessionUser` should be protected against passing `sess` = `nil` to
avoid

```
PANIC: runtime error: invalid memory address or nil pointer dereference
```

in


https://github.com/go-gitea/gitea/pull/18452/files#diff-a215b82aadeb8b4c4632fcf31215dd421f804eb1c0137ec6721b980136e4442aR69

after upgrade from gitea v1.16 to v1.17.

Related: https://github.com/go-gitea/gitea/pull/18452
2022-10-24 20:05:35 +01:00
2021-09-15 20:33:13 +03:00
2022-06-07 11:40:27 -04:00
2022-02-01 15:10:55 -05:00
2021-11-22 05:17:21 -05:00
2022-06-20 15:09:50 +02:00
2022-01-26 10:45:51 +01:00
2022-01-16 17:26:15 +00:00
2022-02-25 15:08:35 -05:00
2022-10-15 15:08:17 +02:00
2022-03-03 15:59:26 -05:00
2022-05-25 07:42:28 +03:00
2022-05-25 07:42:28 +03:00
2022-10-24 02:17:13 +01:00
2022-10-24 02:17:13 +01:00
2016-11-08 08:42:05 +01:00

Reporting security issues

The Gitea maintainers take security seriously.
If you discover a security issue, please bring it to their attention right away!

Reporting a Vulnerability

Please DO NOT file a public issue, instead send your report privately to security@gitea.io.

Security reports are greatly appreciated and we will publicly thank you for it, although we keep your name confidential if you request it.

S
Description
MokoGitea — custom Gitea fork with .mokogitea manifests, custom fields, org priorities, folder-based wikis, and Joomla update server generation
https://mokoconsulting.tech/support/mokogitea Readme MIT
1,020 MiB
2026-06-21 00:21:51 +00:00
Languages
Go 78.3%
Handlebars 12.8%
TypeScript 4.2%
CSS 1.9%
JavaScript 1.5%
Other 1.2%