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

svn_auth_cred_simple_t crash

From: Martin Hauner <hauner_at_web.de>
Date: 2005-03-13 14:48:23 CET

Hi,

if i set 'const char *password' in 'svn_auth_cred_simple_t' to 0 subversion
crashes in cram.c compute_digest (called from svn_ra_svn__cram_client) when
running strlen on the password (on 1.1.x branch).

This happens in my (client) code when the user does not enter a password in
the prompt dialog.

The code should check the pointer first.

-- 
Martin
Subcommander, http://subcommander.tigris.org
a x-platform Win32/Unix svn gui (qt) client & a text diff/merge tool.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 13 14:57:31 2005

This is an archived mail posted to the Subversion Dev mailing list.

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