Skip to content

Fix GH-15752: finfo_file() - parameter validation error messages #15755

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

Closed
wants to merge 1 commit into from

Conversation

DanielEScherzer
Copy link
Member

@DanielEScherzer DanielEScherzer commented Sep 4, 2024

Show the correct parameter names and numbers - the errors are caused by the
second parameter being empty or having null bytes, not the first.

@DanielEScherzer
Copy link
Member Author

Note that the merge to master will be complicated by #15489 - error function and output are different now

@devnexen
Copy link
Member

devnexen commented Sep 4, 2024

Note that the merge to master will be complicated by #15489 - error function and output are different now

Differences between master and release branches is a common occurence, nothing new ! lgtm once you fix the existing tests failures.

@DanielEScherzer DanielEScherzer changed the title Fix GH-15752: finfo_file() - parameter validation error message Fix GH-15752: finfo_file() - parameter validation error messages Sep 4, 2024
@DanielEScherzer
Copy link
Member Author

Note that the merge to master will be complicated by #15489 - error function and output are different now

Differences between master and release branches is a common occurence, nothing new ! lgtm once you fix the existing tests failures.

Done - turns out there is an existing test that was just expecting the wrong thing, so I fixed that and dropped my new test

Show the correct parameter names and numbers - the errors are caused by the
second parameter being empty or having null bytes, not the first.
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LCTM

@devnexen devnexen closed this in c5e0a6a Sep 5, 2024
devnexen pushed a commit that referenced this pull request Sep 5, 2024
@DanielEScherzer DanielEScherzer deleted the finfo_file branch September 5, 2024 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants