diff options
author | Linus Groh <mail@linusgroh.de> | 2022-04-26 20:15:50 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-04-26 20:20:44 +0200 |
commit | cd3e337487ee6b05f1a29931da5fca8ecab9cb9e (patch) | |
tree | 80dd5f174bf8a0b5aac3b7674a3478c3394e053f /Userland/Libraries/LibGUI/Dialog.cpp | |
parent | 2adc5efe2b80b48c9cdb7648ad377832d93b36ae (diff) | |
download | serenity-cd3e337487ee6b05f1a29931da5fca8ecab9cb9e.zip |
Kernel: Strip null terminators from all CPUID strings, not just brand
I've noticed that the KVM hypervisor vendor ID string contained null
terminators in the serialized JSON string in /proc/cpuinfo - let's avoid
that, and err on the side of caution and strip them from all strings
built from CPUID register values. They may not be fixed width after all.
Diffstat (limited to 'Userland/Libraries/LibGUI/Dialog.cpp')
0 files changed, 0 insertions, 0 deletions