On Mon, Oct 12, 2015 at 11:23 AM, Ronald S. Bultje wrote:
> Hi,
>
> On Fri, Oct 9, 2015 at 1:48 PM, Ganesh Ajjanagadde
> wrote:
>>
>> res, absres are currently int's, which on most platforms is 32 bits.
>> Unfortunately, data is untrusted, and on line
On Mon, Oct 12, 2015 at 11:43 AM, Michael Niedermayer
wrote:
> On Mon, Oct 12, 2015 at 11:22:17AM -0400, Ganesh Ajjanagadde wrote:
>> On Mon, Oct 12, 2015 at 11:09 AM, Michael Niedermayer
>> wrote:
>> > On Fri, Oct 09, 2015 at 01:48:10PM -0400,
On Mon, Oct 12, 2015 at 11:52 AM, Ganesh Ajjanagadde wrote:
> On Mon, Oct 12, 2015 at 11:43 AM, Michael Niedermayer
> wrote:
>> On Mon, Oct 12, 2015 at 11:22:17AM -0400, Ganesh Ajjanagadde wrote:
>>> On Mon, Oct 12, 2015 at 11:09 AM, Michael Niedermayer
Hi,
On Fri, Oct 9, 2015 at 1:48 PM, Ganesh Ajjanagadde
wrote:
> res, absres are currently int's, which on most platforms is 32 bits.
> Unfortunately, data is untrusted, and on line 1267 res is manipulated
> with data. Thus, res can take on INT32_MIN/INT_MIN with crafted
On Fri, Oct 9, 2015 at 1:48 PM, Ganesh Ajjanagadde
wrote:
> res, absres are currently int's, which on most platforms is 32 bits.
> Unfortunately, data is untrusted, and on line 1267 res is manipulated
> with data. Thus, res can take on INT32_MIN/INT_MIN with crafted data,
On Fri, Oct 09, 2015 at 01:48:10PM -0400, Ganesh Ajjanagadde wrote:
> res, absres are currently int's, which on most platforms is 32 bits.
> Unfortunately, data is untrusted, and on line 1267 res is manipulated
> with data. Thus, res can take on INT32_MIN/INT_MIN with crafted data,
> making FFABS
res, absres are currently int's, which on most platforms is 32 bits.
Unfortunately, data is untrusted, and on line 1267 res is manipulated
with data. Thus, res can take on INT32_MIN/INT_MIN with crafted data,
making FFABS on line 1282 unsafe.
Once again, using FFNABS will make it less readable: