[PATCH] Fix integer overflow in svn_auth.h
From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2003-10-25 01:57:49 CEST
My compiler (Sun Forte) gave me:
"../../subversion/subversion/libsvn_ra_dav/session.c", line 138: warning:
session.c line 138 is:
svn_failures |= SVN_AUTH_SSL_OTHER;
SVN_AUTH_SSL_OTHER is defined as (1<<31), which is -2147483648. I think
But, svn_auth.h has this above the #define's:
* Note that these values are stored in the on disk auth cache by the
So, what to do? Yet, I propose to change it as follows. -- justin
Index: subversion/include/svn_auth.h
typedef svn_error_t *(*svn_auth_ssl_server_trust_prompt_func_t) (
---------------------------------------------------------------------
|
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.