[PR #1258] [MERGED] Fix nil-dereference bug #15837

Closed
opened 2025-11-02 11:55:47 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1258
Author: @ethantkoenig
Created: 3/15/2017
Status: Merged
Merged: 3/16/2017
Merged by: @andreynering

Base: masterHead: fix/access


📝 Commits (1)

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 modules/context/repo.go (+5 -1)

📄 Description

Fix bug introduced by #1247 where viewing a repository while not signed in a user causes a 500 (due to a nil pointer deference).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1258 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 3/15/2017 **Status:** ✅ Merged **Merged:** 3/16/2017 **Merged by:** [@andreynering](https://github.com/andreynering) **Base:** `master` ← **Head:** `fix/access` --- ### 📝 Commits (1) - [`17f403f`](https://github.com/go-gitea/gitea/commit/17f403fbcd9bdffc8f9901119482fa200ca572f7) Fix nil-dereference bug ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `modules/context/repo.go` (+5 -1) </details> ### 📄 Description Fix bug introduced by #1247 where viewing a repository while not signed in a user causes a 500 (due to a nil pointer deference). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:55:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15837