Opening unseekable file sometimes succeeds #4758
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
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()
intfile.c
.The text was updated successfully, but these errors were encountered: