Print

Print


Hi Andreas,

I assume you are saying the bug is in the client code not the server code, 
yes?

Andy

----- Original Message ----- 
From: "Andreas Petzold" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, May 02, 2007 5:26 AM
Subject: xrd: buffer overrun when reporting checksum?


> Hi,
>
> I've discovered a problem with the xrd interactive xrootd client
> (20070321-1251). When I request a checksum of a file, the checksum value
> printed is usually followed by some garbage characters:
>
> root://f01-101-118.gridka.de:1094/>getchecksum 
> /prod/subskim/SPskims/SP-Skim-R22V02/000998/200007/49602/S0002/V00/InclPhi.01.root
> Checksum: crc32 2523947860PE"   �
>
> I've checked that our checksum script returns a '\n' terminated string as
> stated in the docs.
>
> AFAICT, the perl interface returns the correct checksum value, but I 
> didn't
> look at the code.
>
> Cheers,
>
> Andreas
>
>