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

2010-11-19 Thread Michael Meeks
Hi Julien, On Thu, 2010-11-18 at 22:44 +0100, Julien Nabet wrote: > The bug on cppcheck has been fixed : > https://github.com/danmar/cppcheck/commit/66c2825b2309d21474b22eb4e73e75a4b4ee150f Nice work :-) great to see the cleanup of LibO's twistedness having a positive effect on shared too

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

2010-11-18 Thread Julien Nabet
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

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

2010-11-17 Thread Julien Nabet
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 kn

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

2010-11-17 Thread Caolán McNamara
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, th

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

2010-11-17 Thread julien
Le 17/11/2010 17:08, Caolán McNamara a écrit : On Fri, 2010-11-12 at 12:44 +0100, Julien wrote: Hello, I'm currently running the last version of cppcheck (i updated with git this morning) and i get this error : I don't understand where's the pb with snprintf, pString has a size of 1024