[PR #8746] [MERGED] Ollama getting index oob exception #38636

Closed
opened 2026-04-22 23:18:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8746
Author: @fallenreaper
Created: 2/1/2025
Status: Merged
Merged: 2/5/2025
Merged by: @jmorganca

Base: mainHead: main


📝 Commits (2)

📊 Changes

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

View changed files

📝 server/download.go (+2 -2)

📄 Description

When looking at some of the tickets, I was noticing a lot of them revolving around: #8745

Ollama Server is getting Index OOB on line 175 of server/downloads.go.

It seemed to be something common, with the array being empty and trying to reference the first index. This should resolve it.


🔄 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/8746 **Author:** [@fallenreaper](https://github.com/fallenreaper) **Created:** 2/1/2025 **Status:** ✅ Merged **Merged:** 2/5/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`fb801e1`](https://github.com/ollama/ollama/commit/fb801e1e1f4de9d295ae306278fb1040ad42ffde) Parts index oob fix - [`dac0154`](https://github.com/ollama/ollama/commit/dac0154f21c576e8dfc729f699ff18baa37181c4) just an else was needed ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/download.go` (+2 -2) </details> ### 📄 Description When looking at some of the tickets, I was noticing a lot of them revolving around: #8745 Ollama Server is getting Index OOB on line 175 of server/downloads.go. It seemed to be something common, with the array being empty and trying to reference the first index. This should resolve it. --- <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-22 23:18:49 -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#38636