[PR #651] [CLOSED] Fix null pointer dereference #9674

Closed
opened 2026-02-16 18:13:58 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/651
Author: @rekram1-node
Created: 7/3/2025
Status: Closed

Base: devHead: fix-null-pointer-dereference


📝 Commits (2)

  • e20de2e fix: null pointer dereference
  • 30ab235 fix: escape rg query to avoid shell injection errors

📊 Changes

2 files changed (+7 additions, -2 deletions)

View changed files

📝 packages/opencode/src/file/ripgrep.ts (+5 -2)
📝 packages/tui/internal/completions/files-folders.go (+2 -0)

📄 Description

Fixes #647, #644.

I added the ripgrep escape logic to be more defensive but isn't necessary to address this particular bug


🔄 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/anomalyco/opencode/pull/651 **Author:** [@rekram1-node](https://github.com/rekram1-node) **Created:** 7/3/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix-null-pointer-dereference` --- ### 📝 Commits (2) - [`e20de2e`](https://github.com/anomalyco/opencode/commit/e20de2e0391b72ea11933adc1760658d023ebf21) fix: null pointer dereference - [`30ab235`](https://github.com/anomalyco/opencode/commit/30ab235e147cc78558f9c16db8b126cd9cbca121) fix: escape rg query to avoid shell injection errors ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/file/ripgrep.ts` (+5 -2) 📝 `packages/tui/internal/completions/files-folders.go` (+2 -0) </details> ### 📄 Description Fixes #647, #644. I added the ripgrep escape logic to be more defensive but isn't necessary to address this particular bug --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:58 -05:00
yindo closed this issue 2026-02-16 18:13:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9674