You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SMBIOS reader: check the serial-number string index before reading it
ISO copy of the reader, kept identical to the disk copy in vm-config-dist, plus
the matching gitlink bump (00dd919..52d2087, reachable on org-ai-assisted).
Type 1 offset 7 holds a string INDEX, and 0 means "no string" (DSP0134 6.1.3), so
an unguarded --get-string 7 makes GRUB print 'error: failed to retrieve the
structure field.' on every ordinary boot of an image built with the reader -- the
QEMU gate passes on any QEMU guest, and the serial is set only when a tester
injects. Probe the index byte first; read the string only when it is non-zero.
Found by coderabbit on org-ai-assisted/vm-config-dist#8.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments