Skip to content

Added checks result.full_line in detect features and handle arm64 line#452

Open
GermanAizek wants to merge 1 commit into
google:mainfrom
GermanAizek:add-forgot-checks
Open

Added checks result.full_line in detect features and handle arm64 line#452
GermanAizek wants to merge 1 commit into
google:mainfrom
GermanAizek:add-forgot-checks

Conversation

@GermanAizek
Copy link
Copy Markdown

result.full_line is not checked. If flags line in /proc/cpuinfo is longer than STACK_LINE_READER_BUFFER_SIZE, it will be truncated, and some CPU features might not be detected.

In the future, CPU features string will grow in length as processor SIMD instructions appear frequently.

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