Skip to content

crc32c: check elf_aux_info() return value in ppc64 probe - #5806

Open
brad0 wants to merge 1 commit into
MariaDB:11.4from
brad0:elf_aux_info_check
Open

brad0 wants to merge 1 commit into
MariaDB:11.4from
brad0:elf_aux_info_check

Conversation

@brad0

@brad0 brad0 commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

elf_aux_info(3) leaves the output buffer unmodified on failure, so
ignoring the return value could test an uninitialized cpufeatures and
wrongly enable the POWER8 vector-crypto path.

Treat failure as "no features" so the probe falls back to the generic
implementation.

elf_aux_info(3) leaves the output buffer unmodified on failure, so
ignoring the return value could test an uninitialized cpufeatures and
wrongly enable the POWER8 vector-crypto path.

Treat failure as "no features" so the probe falls back to the generic
implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant