[PR #12215] [MERGED] fix: nil pointer dereference if cache is nil #13735

Closed
opened 2026-04-13 00:34:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12215
Author: @mxyng
Created: 9/8/2025
Status: Merged
Merged: 9/8/2025
Merged by: @mxyng

Base: mainHead: mxyng/nil-pointer-dereference


📝 Commits (1)

  • 7267c53 fix: nil pointer dereference if cache is nil

📊 Changes

1 file changed (+2 additions, -4 deletions)

View changed files

📝 runner/ollamarunner/cache.go (+2 -4)

📄 Description

No description provided


🔄 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/ollama/ollama/pull/12215 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/8/2025 **Status:** ✅ Merged **Merged:** 9/8/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/nil-pointer-dereference` --- ### 📝 Commits (1) - [`7267c53`](https://github.com/ollama/ollama/commit/7267c5340fd368fc32f19b5e6966447023d98440) fix: nil pointer dereference if cache is nil ### 📊 Changes **1 file changed** (+2 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `runner/ollamarunner/cache.go` (+2 -4) </details> ### 📄 Description _No description provided_ --- <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 2026-04-13 00:34:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13735