Skip to content

Corrupted PCF behavior #66

@pasha-zzz

Description

@pasha-zzz

When PCF file is corrupted PreComp does... nothing!

  1. I change 1 byte in -cn PCF - recovered via -r file differs from original in 1 byte (one case, may be others);
  2. if PCF is compressed (-cb or -cl) - I get error bzip2 or lzma stream corrupted, but precomp leaves tempfile and target partial file in directory.

I think this behavior is extremely wrong. It must check consistency of PCF data and when error found - delete temp and target files (maybe special switch to leave corrupted target needed).

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions