[PR #210] [CLOSED] vk_compute_test: VKC_HEAP_FILE refuses an offset of 2^32 and a file past the 4 GiB heap (RT-439) #262

Closed
opened 2026-11-26 20:17:18 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/210
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed

Base: main ← Head: old-pr/9943


📝 Commits (2)

  • f6db952 vk_compute_test: VKC_HEAP_FILE refuses an offset of 2^32 and a file that runs past the 4 GiB heap (RT-439)
  • 314bf8e vk_compute_test: check VKC_HEAP_FILE's size on the open file before reading it (#5878)

📊 Changes

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

View changed files

📝 runtime/test/vk_compute_test.cpp (+21 -5)

📄 Description

Carried over from old PR 9943 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9943, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

RT-439 (found by @SuarezPM): vk_compute_test accepts VKC_HEAP_FILE=<path>@0x100000000, which is one past the 32-bit heap.

Re-submission of #5878. #5878 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #5878 by: Mortify7612 (AMD Radeon RX 9060 XT).

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.


🔄 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/ubiquitarianism/leonida/pull/210 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `old-pr/9943` --- ### 📝 Commits (2) - [`f6db952`](https://github.com/ubiquitarianism/leonida/commit/f6db95201f364be06b34ab3608b2ac41e102ddbb) vk_compute_test: VKC_HEAP_FILE refuses an offset of 2^32 and a file that runs past the 4 GiB heap (RT-439) - [`314bf8e`](https://github.com/ubiquitarianism/leonida/commit/314bf8e4a9ac94e0cf4115b81bac3d36cfc2bfa0) vk_compute_test: check VKC_HEAP_FILE's size on the open file before reading it (#5878) ### 📊 Changes **1 file changed** (+21 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/vk_compute_test.cpp` (+21 -5) </details> ### 📄 Description > Carried over from **old PR 9943** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9943`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `LouisRiverstone`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): RT-439 (found by `@SuarezPM`): `vk_compute_test` accepts `VKC_HEAP_FILE=<path>@0x100000000`, which is one past the 32-bit heap. Re-submission of `#5878`. `#5878` was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current `main`. Checked on `#5878` by: Mortify7612 (AMD Radeon RX 9060 XT). No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:17:18 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#262
No description provided.