On Tue, Jan 18, 2011 at 12:29 AM, Caspar Zhang <[email protected]> wrote:
> On 01/07/2011 02:40 AM, [email protected] wrote:
>> From: Caspar Zhang <[email protected]>
>>
>> We get segfaults during testing mtest01 on a 5TB memory machine, the
>> problem was traced to the array pid_list[] went to overflow and
>> corrupted memory. This fix makes pid_list dynamically sized with
>> correct memory size to avoid overflow.
>>
>> v2: not split into different bits when allocating pid_list.
>> v3: 1) fix optargs: -b and -p should not be used at the same time.
>>     2) pre_mem maybe not initialized before using if -p option not used.
>>        fix it by moving it outside ``if(maxpercent)'' block.
>> v4: fix code format.
>>
>> Signed-off-by: Caspar Zhang <[email protected]>
>
> Patch attached.

Doesn't patch:

Patching file testcases/kernel/mem/mtest01/mtest01.c using Plan A...
Hunk #1 failed at 44.
1 out of 1 hunks failed--saving rejects to
testcases/kernel/mem/mtest01/mtest01.c.rej
Hmm...  Ignoring the trailing garbage.
done

Have you updated your sources recently?
Thanks,
-Garrett

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to