Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


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 and snprintf takes a size of 1024.

Is this a false positive to give to the cppcheck guys ?

Well I think so. if you replace nBezString in the sprintf line with a
raw 1024 does it complain ?

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.