Print

Print


It seems that there is a regression in XrdSecgsi causing the client to segv if the gsi credential is not present.

Previously we were checking that both the cache entry and the cent->buf1.buf are not null:

https://github.com/xrootd/xrootd/commit/245b8bf5cad7e9a23d2d8f0aa3c15d37243d386b#diff-d0cbc94ca618f1d6c49b85aa3e787753L4635

Currently we are only checking if the cache entry is not null:

https://github.com/xrootd/xrootd/commit/245b8bf5cad7e9a23d2d8f0aa3c15d37243d386b#diff-d0cbc94ca618f1d6c49b85aa3e787753R4611

This pull request re-adds the second check to the if statement.

Michal




You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/545

-- Commit Summary --

  * [XrdSecgsi] Make sure client does not segv if gsi credentail is not present.

-- File Changes --

    M src/XrdSecgsi/XrdSecProtocolgsi.cc (2)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/545.patch
https://github.com/xrootd/xrootd/pull/545.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/545

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1