ghw icon indicating copy to clipboard operation
ghw copied to clipboard

Hardware topology fails with panic for 32b windows

Open a-urth opened this issue 1 year ago • 2 comments

I'm using win10 386 and getting panic particularly from here https://github.com/jaypipes/ghw/blob/main/pkg/topology/topology_windows.go#L146

runtime error: slice bounds out of range [:320] with capacity 312

I'm not sure how it suppose to work for 32b systems and whats the message sizing, so i'm not trying to fix splitting logic by myself.

a-urth avatar Nov 19 '24 10:11 a-urth

thanks for the report! the problem here is having access to a suitable environment to reproduce the bug. I'll try to play with CI envs to see if we can find something

ffromani avatar Nov 26 '24 15:11 ffromani

I think i still have 32b VM somewhere. let me know if i can help with more info.

a-urth avatar Nov 26 '24 15:11 a-urth