trailing UTF-16 bytes are not removed when extracting the commands from ccel eventlog
Open
- Dominant language
- Go
- Stars
- 22
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/google/go-eventlog/blob/f8fec0e7f7df94947919d5875703648bd1fb5933/extract/rtmr.go#L70
the commands extracted from CCEL is trailed with '\u0000'
"grub_cmd: gptpriority hd0 2 prioA\u0000",
"grub_cmd: gptpriority hd0 4 prioB\u0000",
"kernel_cmdline: /syslinux/vmlinuz.... \u0000'
Contributor guide
Assessment
This issue has not been assessed yet.