google / google/go-eventlog

trailing UTF-16 bytes are not removed when extracting the commands from ccel eventlog

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.