Ah, I see the problem. In XrdHttpReq.cc
, we have this:
// Trim left
while (!isalnum(*val) || (!*val)) val++;
I think that code means to do isblank
as the first character of my destination is not alphanumeric. Hence, with this header:
Destination: -
The value of the second argument to assign
in the following line is -1
:
destination.assign(val, line+len-val);
resulting in a SIGABRT
.
In general, we should also make sure that val
doesn't go past line+len
in our while
loop.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
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