nps icon indicating copy to clipboard operation
nps copied to clipboard

linux386版本npc在iOS的iSH虚拟机里运行出现index out of range错误

Open tinyluck opened this issue 1 year ago • 0 comments

Describe the bug linux386版本npc在iOS的iSH虚拟机里运行出现index out of range错误

To Reproduce Steps to reproduce the behavior:

  1. 在iOS的iSH虚拟机里运行linux386版本npc
  2. 报错panic: runtime error: index out of range [5] with length 5

Expected behavior 期望能正常运行

Screenshots or logs panic: runtime error: index out of range [5] with length 5

Client (please complete the following information):

  • OS: iOS 17.2.1 with iSH 1.3.2
  • ARCH: [iSH虚拟x86]
  • Version [0.27.0]

Additional context 是gopsutil的bug,已在v3.23.10修复。本项目使用的版本是v3.21.3。期望能够更新。 v3.23.10 @shirou shirou released this Nov 1, 2023 What's Changed cpu fix(linux): validate cpu fields length before accessing index by @JanDeDobbeleer in https://github.com/shirou/gopsutil/pull/1544

tinyluck avatar Jan 17 '24 06:01 tinyluck