Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: 6e43fb8c0221d1f4759e98bb5bef5c8c687cb6d7
      https://github.com/xrootd/xrootd/commit/6e43fb8c0221d1f4759e98bb5bef5c8c687cb6d7
  Author: Ivan Kadochnikov <[log in to unmask]>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/XrdFfs/XrdFfsWcache.cc

  Log Message:
  -----------
  xrootdfs: check file descriptor before using it in xrootdfs wcache

If file open failed with ENOSYS (it can if the server responded with kXR_Unsupported), then file descriptor is not initialized.
As a result any attempt to write to the file gives a segfault. This check gives a EBADF instead.


  Commit: f2889a5020e8e065350cae77bba745a794bc3498
      https://github.com/xrootd/xrootd/commit/f2889a5020e8e065350cae77bba745a794bc3498
  Author: Ivan Kadochnikov <[log in to unmask]>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/XrdFfs/XrdFfsWcache.cc

  Log Message:
  -----------
  xrootdfs: more error checks when creating write cache

Return errors to the caller instead of ignoring them.


  Commit: 6fcefebcdb5a1f789299c6050b5daf5169864fb6
      https://github.com/xrootd/xrootd/commit/6fcefebcdb5a1f789299c6050b5daf5169864fb6
  Author: Ivan Kadochnikov <[log in to unmask]>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/XrdFfs/XrdFfsMisc.cc

  Log Message:
  -----------
  xrootdfs: avoid using literal 1024, replace with MAXROOTURLLEN

Just a little clean-up to use the constant everywhere, instead of only sometimes.


  Commit: e7d027e2933467e781238f069106b9a774baaaa3
      https://github.com/xrootd/xrootd/commit/e7d027e2933467e781238f069106b9a774baaaa3
  Author: Ivan Kadochnikov <[log in to unmask]>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/XrdFfs/XrdFfsXrootdfs.cc

  Log Message:
  -----------
  xrootdfs: actually check wcache creation error on open

Report the error to caller instead of ignoring it.


  Commit: a40bef25838c324a935f7a4290d8e0a2dc038c26
      https://github.com/xrootd/xrootd/commit/a40bef25838c324a935f7a4290d8e0a2dc038c26
  Author: Wei Yang <[log in to unmask]>
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
    M src/XrdFfs/XrdFfsMisc.cc
    M src/XrdFfs/XrdFfsWcache.cc
    M src/XrdFfs/XrdFfsXrootdfs.cc

  Log Message:
  -----------
  Merge pull request #513 from fizmat/extra-checks

XRootDFS: Extra checks and error reporting


Compare: https://github.com/xrootd/xrootd/compare/e5211314b2c8...a40bef25838c

########################################################################
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