bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] crc bug


From: Sergey Poznyakoff
Subject: Re: [Bug-cpio] crc bug
Date: Tue, 19 Jun 2012 22:16:36 +0300

Zdenek Pavlas <address@hidden> ha escrit:

> > 3. Replace 'test' to 'tset' (reverse)
> 
> man cpio: `crc' The new (SVR4) portable format with a checksum added.
> 
> Reversing does not change the checksum.

The type of change applied to the *header* is irrelevant here.  He might
as well have replaced "test" with "1234" and cpio would have happily
extracted it.  As I have said earlier, checksum is applied only to the
file contents, not to the header.

Regards,
Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]