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

Julien Nabet serval2412 at yahoo.fr
Thu Nov 18 13:44:10 PST 2010


Le 17/11/2010 22:46, Julien Nabet a écrit :
> 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.
The bug on cppcheck has been fixed :

https://github.com/danmar/cppcheck/commit/66c2825b2309d21474b22eb4e73e75a4b4ee150f

Julien.




More information about the LibreOffice mailing list