[Mauiusers] possible overflow patch

Brian Christiansen bchristiansen at adaptivecomputing.com
Tue Feb 23 10:50:08 MST 2010

On 02/23/2010 08:46 AM, Brian Christiansen wrote:
> On 02/19/2010 03:55 PM, Denis Pynkin wrote:
>> Hello.
>> Not sure if this list is the right address to send patches - sorry for inconvenience.
> This is the right place.
>> During the building process I have the problem listed below.
>> Patch to fix is in attach.
>> x86_64-alt-linux-gcc -I../../include/ -I/var/spool/maui/include      -D__LINUX   -D__MPBS       -pipe -Wall -O2 -D__M64  -c MSR.c
>> In file included from /usr/include/string.h:658,
>>                    from ../../include/msched-common.h:122,
>>                    from ../../include/msched.h:131,
>>                    from ../../include/moab.h:663,
>>                    from MSR.c:111:
>> In function 'memset',
>>       inlined from 'MSRProcessOConfig' at MSR.c:2819:
>> /usr/include/bits/string3.h:86: error: call to __builtin___memset_chk will always overflow destination buffer
> I'll look into applying the patch. It seems that MUBMClear may need some
> tweaking. I'll let you know what happens.
I went ahead and checked in your patch to trunk.


More information about the mauiusers mailing list