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

Opening unseekable file sometimes succeeds #4758

Open
mattjala opened this issue Aug 26, 2024 · 0 comments
Open

Opening unseekable file sometimes succeeds #4758

mattjala opened this issue Aug 26, 2024 · 0 comments
Assignees
Labels
Component - C Library Core C library issues (usually in the src directory) Priority - 3. Low 🔽 Code cleanup, small feature change requests, etc. Type - Bug Please report security issues to [email protected] instead of creating an issue on GitHub

Comments

@mattjala
Copy link
Contributor

Describe the bug
A call to create/open an unseekable file (e.g. /dev/null) sometimes succeeds and returns a valid file ID.

Expected behavior
The H5Fcreate()/H5Fopen() call should fail by returning H5I_INVALID_HID.

Platform (please complete the following information)
Variable; see CI results here.

Additional context
This problem can be observed during test_unseekable_file() in tfile.c.

@mattjala mattjala added Priority - 3. Low 🔽 Code cleanup, small feature change requests, etc. Component - C Library Core C library issues (usually in the src directory) Type - Bug Please report security issues to [email protected] instead of creating an issue on GitHub labels Aug 26, 2024
@mattjala mattjala self-assigned this Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - C Library Core C library issues (usually in the src directory) Priority - 3. Low 🔽 Code cleanup, small feature change requests, etc. Type - Bug Please report security issues to [email protected] instead of creating an issue on GitHub
Projects
None yet
Development

No branches or pull requests

2 participants
@mattjala and others