On Mon, Jan 04, 2010 at 13:37:17 -0800, John Reiser <jreiser@xxxxxxxxxxxx> 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@xxxxxxxxxxxx> 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? -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list