ignore trailing garbage on decompress needed
Bug #594868 reported by
Yavor Nikolov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
pbzip2 | Status tracked in Trunk | |||||
1.1 |
Fix Released
|
Low
|
Yavor Nikolov | |||
2.0 |
New
|
Undecided
|
Unassigned | |||
Trunk |
New
|
Low
|
Yavor Nikolov |
Bug Description
Add option-controlled functionality to ignore trailing garbage on decompression instead of failing with error.
This is in order to keep compatible with bzip2 and to prevent breaking existing code dealing with Gentoo package format.
Changed in pbzip2: | |
assignee: | nobody → Yavor Nikolov (yavor-nikolov) |
status: | New → In Progress |
Changed in pbzip2: | |
status: | In Progress → Fix Committed |
Changed in pbzip2: | |
importance: | Undecided → Low |
milestone: | none → 1.1.2 |
To post a comment you must log in.
Working but still just barely tested implementation has been pushed to lp:~yavor-nikolov/pbzip2/pbzip2-1.1.x-yn-ignore-trailing.
The feature is switched on/off using following option: trailing- garbage= 0 (Old behaviour - trailing garbage causes error and abort) trailing- garbage= 1 (Trailing garbage is just ignored /printing just a warning about it if in verbose mode/) trailing- garbage (Same as --ignore- trailing- garbage= 1)
--ignore-
--ignore-
--ignore-
The default value flag could be specified by conditional compilation with IGNORE_ TRAILING_ GARBAGE= <flag value>. (The default is 0).