W dniu 15.07.2011 17:04, Rainer Gerhards pisze:
>>  * rsconf.c:342:9: warning: array subscript is above array bounds
>> [-Warray-bounds]
> Actual error (!). I just fixed it.

Message disappear:)

>>  * QA Notice: Package has poor programming practices which may compile
>>  *            fine but exhibit random runtime failures.
>>  * /usr/include/bits/string3.h:52:3: warning: call to
>> __builtin___memcpy_chk will always overflow destination buffer [enabled
>> by default]
> 
> I have no idea where this stems from. Do you have some connect (e.g. which
> code calls this lib function?).

Probably this is bug in gcc (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37060 ) ?

I paste warning with context:
net.c: In function ‘clearAllowedSenders’:
net.c:580:7: warning: ‘pCurr’ may be used uninitialized in this function
[-Wuninitialized]
In file included from /usr/include/string.h:642:0,
                 from net.c:50:
In function ‘memcpy’,
    inlined from ‘AddAllowedSender’ at net.c:724:13,
    inlined from ‘addAllowedSenderLine’ at net.c:872:5:
/usr/include/bits/string3.h:52:3: warning: call to
__builtin___memcpy_chk will always overflow destination buffer [enabled
by default]

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to