[cvsnt-dev] Re: 2.5.02.2040 problems - SOLVED!

David Somers dsomers at omz13.com
Mon Aug 1 01:32:36 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony Hoyle wrote:

> David Somers wrote:
> 
>> 
>> So, if I reading the backtrace correctly, its cvsapi/Zeroconf.cpp, line
>> 169 (revision 1.1.2.3) that's the culprit.
>> cvs::sprintf(szPort,8,"%hu",i->second.port);
> 
> That's OK though..  can't see how that could crash.
> 

Tony,

Right. Bit of a bugger to track this one. It was the code that processes the
h format options!

cvsapi/cvs_string.cpp

else if (qualifier == 'h')
        {
        va_arg(va, short);
                argno++;


should be

else if (qualifier == 'h')
        {
        va_arg(va, int);
                argno++;


I see you've already fixed this in cvs.

I've patched my 2040 build and everything is now sweet.

Greetings from Luxembourg.

-- 
David Somers
VoIP: FWD 622885
PGP Key = 7E613D4E
Fingerprint = 53A0 D84B 7F90 F227 2EAB  4FD7 6278 E2A8 7E61 3D4E


More information about the cvsnt-dev mailing list