Skip to content

cpu_linux: test to ignore non-cpu info on /proc/cpuinfo#5

Open
christoph-zededa wants to merge 1 commit intozededa:mainfrom
christoph-zededa:fix-out-of-bounds
Open

cpu_linux: test to ignore non-cpu info on /proc/cpuinfo#5
christoph-zededa wants to merge 1 commit intozededa:mainfrom
christoph-zededa:fix-out-of-bounds

Conversation

@christoph-zededa
Copy link

add a simple test from the description

add a simple test for a cpuinfo file that has lines without
':' and therefore crashed the code.

This test is based on the description of the commit with
the fix

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant