[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Tortoise SVN crash when showing the SSL certificate prompt on Windows 7

From: Franck Pascutti <franck.pascutti_at_thomsonreuters.com>
Date: Tue, 6 Dec 2011 02:46:19 -0800 (PST)

I just installed Tortoise SVN 7.2 x64 on my Windows 7 machine. I have a systematic crash when commiting when TortoiseProc tries to prompt me for certificate information.

To reproduce the issue :
 1. Setup a SVN server with SSL encryption using a non-recognized certificate,
 2. Use TortoiseSVN on a Windows 7 machine to connect to this server,
 3. The crash should occur.

The crash occurs in the following function:
TortoiseProc.exe!SVNPrompt::sslserverprompt(svn_auth_cred_ssl_server_trust_t * * cred_p, void * baton, const char * realm, unsigned int failures, const svn_auth_ssl_server_cert_info_t * cert_info, int may_save, apr_pool_t * pool) Line 279 C++

The cause seems to be that Tortoise SVN sets the default command control of the TaskDialog to "IDCUSTOM3" even though only "IDCUSTOM1" and "IDCUSTOM2" were added to the TaskDialog.

See the source code at:
http://code.google.com/p/tortoisesvn/source/browse/trunk/src/SVN/SVNPrompt.cpp#sl_svn22343_278

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2890898

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-06 11:53:26 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.