Package not found: openSUSE:Slowroll:Build:2/python-pywebpush

File CVE-2016-2167.patch of Package subversion.2443

Index: subversion/svnserve/cyrus_auth.c
===================================================================
--- subversion/svnserve/cyrus_auth.c	(revision 1735379)
+++ subversion/svnserve/cyrus_auth.c	(working copy)
@@ -74,6 +74,8 @@ static int canonicalize_username(sasl_conn_t *conn
     {
       /* The only valid realm is user_realm (i.e. the repository's realm).
          If the user gave us another realm, complain. */
+      if (realm_len != inlen-(pos-in+1))
+        return SASL_BADPROT;
       if (strncmp(pos+1, user_realm, inlen-(pos-in+1)) != 0)
         return SASL_BADPROT;
     }
openSUSE Build Service is sponsored by