[Libreoffice] Fwd: Re: cppcheck : snprintf size is out of bounds

Julien Nabet serval2412 at yahoo.fr
Wed Nov 17 13:46:33 PST 2010


Le 17/11/2010 22:19, Caolán McNamara a écrit :
> On Wed, 2010-11-17 at 21:50 +0100, julien wrote:
>    
>> There's no more cppcheck errors if if i change the line :
>> const sal_uInt32 nBezString = 1024;
>>
>> into this :
>> sal_uInt32 nBezString = 1024;
>>
>> Before i create a tracker for cppcheck guy, i'd like to know what you
>> think about it ?
>>      
> Yeah, that basically confirms it for me.
>
> C.
>
>    
I created the ticket 2210 for this bug.
I noticed that sal_uInt32 is defined in sal/inc/sal/types.h and that it 
depended of preprocessor, perhaps it's the pb.
I attached this remark in the tracker.

Julien.


More information about the LibreOffice mailing list