ghw
ghw copied to clipboard
Hardware topology fails with panic for 32b windows
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.
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
I think i still have 32b VM somewhere. let me know if i can help with more info.