Skip to content

Commit

Permalink
Merge pull request #1250 from olifre/tpc-nullptr-deref
Browse files Browse the repository at this point in the history
[TPC] Fix potential null pointer dereference on Push.
  • Loading branch information
abh3 committed Jul 13, 2020
2 parents e76af17 + f337e43 commit 74e8aeb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/XrdTpc/XrdTpcTPC.cc
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ int TPCHandler::ProcessPushReq(const std::string & resource, XrdHttpExtReq &req)
rec.log_prefix = "PushRequest";
rec.local = req.resource;
rec.remote = resource;
rec.name = req.GetSecEntity().name;
char *name = req.GetSecEntity().name;
if (name) rec.name = name;
logTransferEvent(LogMask::Info, rec, "PUSH_START", "Starting a push request");
Expand Down

0 comments on commit 74e8aeb

Please sign in to comment.