Skip to content

Commit

Permalink
[XrdCl] xcp: fix segv in translating pginfo to chinfo.
Browse files Browse the repository at this point in the history
(Regression, never released.)
  • Loading branch information
simonmichal authored and gganis committed Nov 23, 2021
1 parent 9487494 commit 3057a58
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/XrdCl/XrdClXCpSrc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ class ChunkHandler: public ResponseHandler
void ToPgInfo( AnyObject *response, PageInfo *&chunk )
{
if( pUsePgRead )
{
response->Get( chunk );
response->Set( ( int* )0 );
}
else
{
ChunkInfo *rsp = nullptr;
Expand Down

0 comments on commit 3057a58

Please sign in to comment.