Looking for pointers how to set up lzma stream using xz-devel
Bruno Wolff III
bruno at wolff.to
Tue Jan 5 15:59:18 UTC 2010
On Mon, Jan 04, 2010 at 13:37:17 -0800,
John Reiser <jreiser at bitwagon.com> wrote:
> On 01/04/2010 10:18 AM, Bruno Wolff III wrote:
> >On Mon, Jan 04, 2010 at 07:57:54 -0600,
> > Jon Ciesla<limb at jcomserv.net> wrote:
> >>I've actually come across this WRT UPX as well.
> >>
> >>https://bugzilla.redhat.com/show_bug.cgi?id=501636
>
> >It seemed odd that the debian bug for this claimed that source from the SDK
> >was needed. Presumably an appropriate library would work. ...
>
> https://bugzilla.redhat.com/show_bug.cgi?id=501636#c6
> UPX cannot use a library, UPX must use source. UPX requires total control
> during decompression (no malloc() allowed, etc.) and so far the library
> writers have not catered to such a restricted environment, AFAICT.
The alloc function in the LZMA SDK allows you to pass it a pointer to
your own allocater function. (I don't know whether or not the xz library works
like that.) Would that be enough for UPX?
More information about the fedora-devel-list
mailing list