mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
Fix h5dump segmentation fault when --vfd-value option is used (#3873)
This commit is contained in:
parent
fc88fcde10
commit
0fa3029c88
@ -1234,7 +1234,7 @@ end_collect:
|
||||
}
|
||||
|
||||
/* If the file uses the onion VFD, get the revision number */
|
||||
if (vfd_info_g.u.name && !strcmp(vfd_info_g.u.name, "onion")) {
|
||||
if (vfd_info_g.type == VFD_BY_NAME && vfd_info_g.u.name && !strcmp(vfd_info_g.u.name, "onion")) {
|
||||
|
||||
if (vfd_info_g.info) {
|
||||
if (!strcmp(vfd_info_g.info, "revision_count"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user