Logo
Explore Help
Sign In
Mirrors/gitea
Watch 0
Star 0 Fork 0
mirror of https://github.com/go-gitea/gitea.git synced 2026-10-11 01:57:55 +02:00
Code Issues Activity
Files
d5856fece7d9cc70d5888bbee9fd0eeddf91c8da
gitea/services/auth
T
History
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
..
source
EscapeFilter the group dn membership (#20200) (#20254)
2022-07-06 20:51:40 +01:00
auth_test.go
…
auth.go
…
basic.go
…
group.go
…
httpsign.go
Implement http signatures support for the API (#17565)
2022-06-05 08:16:14 +01:00
interface.go
…
oauth2.go
Move almost all functions' parameter db.Engine to context.Context (#19748)
2022-05-20 22:08:52 +08:00
reverseproxy.go
Move almost all functions' parameter db.Engine to context.Context (#19748)
2022-05-20 22:08:52 +08:00
session.go
SessionUser protection against nil pointer dereference (#21581)
2022-10-24 20:05:35 +01:00
signin.go
…
source.go
…
sspi_windows.go
Move almost all functions' parameter db.Engine to context.Context (#19748)
2022-05-20 22:08:52 +08:00
sync.go
…
Powered by Gitea Version: 28.0.0 Page: 3358ms Template: 715ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API