Re: [PATCH] decompressors: fix "no limit" output buffer length

2013-07-22 Thread Alex Courbot
On 07/23/2013 12:32 PM, Stephen Warren wrote: On 07/22/2013 07:15 PM, Alex Courbot wrote: ... Although the patch seems ok to me in its current form, there are two points for which I still have small doubts: 1) Whether size_t and pointers will have the same size on all platforms. ptrsize_t?

Re: [PATCH] decompressors: fix "no limit" output buffer length

2013-07-22 Thread Stephen Warren
On 07/22/2013 07:15 PM, Alex Courbot wrote: ... > Although the patch seems ok to me in its current form, there are two > points for which I still have small doubts: > > 1) Whether size_t and pointers will have the same size on all platforms. ptrsize_t? -- To unsubscribe from this list: send the l

Re: [PATCH] decompressors: fix "no limit" output buffer length

2013-07-22 Thread Alex Courbot
On 07/23/2013 03:08 AM, Jon Medhurst (Tixy) wrote: On Mon, 2013-07-22 at 15:56 +0900, Alexandre Courbot wrote: When decompressing into memory, the output buffer length is set to some arbitrarily high value (0x7fff) to indicate the output is, virtually, unlimited in size. The problem with th

Re: [PATCH] decompressors: fix "no limit" output buffer length

2013-07-22 Thread Jon Medhurst (Tixy)
On Mon, 2013-07-22 at 15:56 +0900, Alexandre Courbot wrote: > When decompressing into memory, the output buffer length is set to some > arbitrarily high value (0x7fff) to indicate the output is, > virtually, unlimited in size. > > The problem with this is that some platforms have their physica

[PATCH] decompressors: fix "no limit" output buffer length

2013-07-21 Thread Alexandre Courbot
When decompressing into memory, the output buffer length is set to some arbitrarily high value (0x7fff) to indicate the output is, virtually, unlimited in size. The problem with this is that some platforms have their physical memory at high physical addresses (0x8000 or more), and that the