-
Notifications
You must be signed in to change notification settings - Fork 9
Fix unsafe memory access during gent_longlinks #40
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
Conversation
|
For the basename() changes, we have a const violation and a thread safety issue (static storage is used). You could use a thead-safe copy Or add a helper function: and then, So you have: Two other locations would need updating: and |
|
Or do, (does not handle trailing slashes): |
0531c0c to
93dfb3a
Compare
* Fix overflow on long link names * Reference count cache objects
This PR should fix issues the Cache VOL runs into during gent_longlinks() within
h5dumpgentestfrom the main HDF5 repo.Related to HDFGroup/hdf5#5935