Skip to content

Conversation

@Jo-stfc
Copy link
Collaborator

@Jo-stfc Jo-stfc commented Feb 3, 2025

No description provided.

bbockelm and others added 2 commits February 2, 2025 17:04
When looking up the map of active files, the returned value is a
a `nullptr` if the file-open is ongoing.  Check for this case and
only try to use the file object if it is non-null.

Without this check, the XrdPfc module will trigger a segfault when
trying to increase the reference count for a null object.

The places affected by the nullptr already have appropriate fallback
code in place if the filename isn't on the active list at all -- we
now use that code instead of crashing.
@Jo-stfc Jo-stfc merged commit ffed5a7 into v5.7.3patched Feb 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants