[svn-commits] mmichelson: branch group/pimp_my_sip r382301 - /team/group/pimp_my_sip/res/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 28 16:17:56 CST 2013


Author: mmichelson
Date: Thu Feb 28 16:17:52 2013
New Revision: 382301

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382301
Log:
Fix size issue when converting UUID to string.

We were passing the size of a pointer in, which is not
appropriate.


Modified:
    team/group/pimp_my_sip/res/res_sip_authenticator_digest.c

Modified: team/group/pimp_my_sip/res/res_sip_authenticator_digest.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip_authenticator_digest.c?view=diff&rev=382301&r1=382300&r2=382301
==============================================================================
--- team/group/pimp_my_sip/res/res_sip_authenticator_digest.c (original)
+++ team/group/pimp_my_sip/res/res_sip_authenticator_digest.c Thu Feb 28 16:17:52 2013
@@ -438,7 +438,7 @@
 		return -1;
 	}
 
-	ast_uuid_to_str(uu, eid, sizeof(eid));
+	ast_uuid_to_str(uu, eid, AST_UUID_STR_LEN);
 	ao2_global_obj_replace_unref(entity_id, eid);
 	return 0;
 }




More information about the svn-commits mailing list