Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
hdf5.34207
When-evicting-driver-info-block-NULL-the-corres...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File When-evicting-driver-info-block-NULL-the-corresponding-entry.patch of Package hdf5.34207
From: Egbert Eich <eich@suse.com> Date: Fri Jan 26 11:09:56 2024 +0100 Subject: When evicting driver info block, NULL the corresponding entry Patch-mainline: Not yet Git-repo: ssh://eich@192.168.122.168:/home/eich/git/hdf5/ Git-commit: 6f5bae3374c39b81c80a2a4fbb3fc45f79410df6 References: CVE-2021-46242 This prevents it from another attempt to unpin it in H5F__dest() which may happen due to malformed hdf5 files which leads to a segfault. This fixes CVE-2021-46242 Signed-off-by: Egbert Eich <eich@suse.com> Signed-off-by: Egbert Eich <eich@suse.de> --- src/H5Fsuper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/H5Fsuper.c b/src/H5Fsuper.c index 10ad5395ca..1413310d13 100644 --- a/src/H5Fsuper.c +++ b/src/H5Fsuper.c @@ -1043,6 +1043,8 @@ done: /* Evict the driver info block from the cache */ if (sblock && H5AC_expunge_entry(f, H5AC_DRVRINFO, sblock->driver_addr, H5AC__NO_FLAGS_SET) < 0) HDONE_ERROR(H5E_FILE, H5E_CANTEXPUNGE, FAIL, "unable to expunge driver info block") + + f->shared->drvinfo = NULL; } /* end if */ /* Unpin & discard superblock */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor