Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: f873dff61919f12da0f1dc5ae1ce6a765d77ebae
      https://github.com/xrootd/xrootd/commit/f873dff61919f12da0f1dc5ae1ce6a765d77ebae
  Author: John Thiltges <[log in to unmask]>
  Date:   2019-10-04 (Fri, 04 Oct 2019)

  Changed paths:
    M bindings/python/src/PyXRootDFile.cc

  Log Message:
  -----------
  [Python] Initialize bytesRead in Read() calls

If the XrdCl::File::Read() call fails, bytesRead is not initialized. This leads to a segfault when the buffer is passed to Python.


  Commit: ff17efa57f9abf1ad5ac1fbbbb375edf7194d0bf
      https://github.com/xrootd/xrootd/commit/ff17efa57f9abf1ad5ac1fbbbb375edf7194d0bf
  Author: simonmichal <[log in to unmask]>
  Date:   2019-10-07 (Mon, 07 Oct 2019)

  Changed paths:
    M bindings/python/src/PyXRootDFile.cc

  Log Message:
  -----------
  Merge pull request #1063 from jthiltges/python_read_init

[Python] Initialize bytesRead in Read() calls


Compare: https://github.com/xrootd/xrootd/compare/6b7ebea3701b...ff17efa57f9a

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