Taking this to -devel...
I demand that Rafael Cabral may or may not have written...
> "Darren Salt" <linux@...> wrote:
>> I demand that Rafael Cabral may or may not have written...
>>> Darren Salt wrote:
>>>> I demand that Rafael Cabral may or may not have written...
>>>>> and so on with the pattern calloc(variable_count, ...
>>>>> How about fix that by testing if count variables is equal to zero
>>>>> before to call calloc ? eg. if (trak->stsd_atoms_count == 0) go out;
>>>> Want to produce a full patch? :-)
>>> Here it go:
>> You'll need to resend it as an attachment; Thunderbird's mangled it. (It's
>> fairly well known for mangling inline patches.)
> So here it goes attached. :)
All of the values being tested are unsigned, although it's possible that some
should never be 0.
(Patch attached for those who've not seen it.)
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy less and make it last longer. INDUSTRY CAUSES GLOBAL WARMING.
You can't get there from here.
Get latest updates about Open Source Projects, Conferences and News.