Summary: | app-arch/rpm2targz: rpmoffset fails in some cases | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vanni Della Ricca <vanni> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bldewolf, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Vanni Della Ricca
2016-03-09 11:48:38 UTC
the lzma magic is inherently buggy because the format doesn't have a dedicated magic string. it's one of the reasons xz was created. doing a scan of arbitrary data for arbitrary magic strings is also inherently buggy. i don't think tweaking the scan logic will really fix this. the only choice is to actually parse & understand the RPM file format. that way we'd know for sure where the datafile lives and wouldn't need any magic string logic. *** Bug 682798 has been marked as a duplicate of this bug. *** |