Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDEV-35554 call to function show_binlog_space_total() #3738

Open
wants to merge 1 commit into
base: 11.4
Choose a base branch
from

Conversation

grooverdan
Copy link
Member

  • The Jira issue number for this PR is: MDEV-35554

Description

clang/UBSAN shows this up as an error as the argument is incorrect.

The argument is void* rather than char*.

Release Notes

not required.

How can this PR be tested?

basic bootstrap when compiled WITH_UBSAN under clang.

If the changes are not amenable to automated testing, please explain why not and carefully describe how to test manually.

Basing the PR against the correct MariaDB version

  • This is a new feature or a refactoring, and the PR is based against the main branch.
  • This is a bug fix, and the PR is based against the earliest maintained branch in which the bug can be reproduced.

PR quality check

  • I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
  • For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.

through pointer to incorrect function type.

The argument is void* rather than char*.

This shows up with UBSAN testing under clang.
@grooverdan grooverdan added the MariaDB Foundation Pull requests created by MariaDB Foundation label Jan 9, 2025
@grooverdan grooverdan requested a review from bnestere January 9, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MariaDB Foundation Pull requests created by MariaDB Foundation
Development

Successfully merging this pull request may close these issues.

1 participant