<div dir="ltr"><div dir="ltr">Merged here, thanks for reporting:<div><br></div><div><a href="https://github.com/OpenSIPS/opensips/commit/3f9fb0923207e320a27926433f50e0c39a1c643c">https://github.com/OpenSIPS/opensips/commit/3f9fb0923207e320a27926433f50e0c39a1c643c</a> (master)<br></div><div><a href="https://github.com/OpenSIPS/opensips/commit/83fee1c7a42f6d01b8d770088728791a03727b6">https://github.com/OpenSIPS/opensips/commit/83fee1c7a42f6d01b8d770088728791a03727b6</a> (3.2)<br></div><div><br></div><div>-Max</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 27, 2021 at 12:46 PM Rob Dyck <<a href="mailto:rob.dyck@telus.net">rob.dyck@telus.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank you<br>
With the patch applied I can confirm that the users are registering without <br>
incident..<br>
Rob<br>
<br>
On Monday, September 27, 2021 10:52:15 A.M. PDT Maxim Sobolev wrote:<br>
> Hi Rob / Liviu,<br>
> <br>
> I browsed quickly through the code and I think the following clause may be<br>
> a culprit:<br>
> <br>
>         if (calc_ha1) {<br>
>                 /* Only plaintext passwords are stored in database,<br>
>                  * we have to calculate HA1 */<br>
>                 cprms.creds.open = &(const struct digest_auth_credential){<br>
>                     .realm = *_domain, .user = _username->whole, .passwd =<br>
> result};<br>
>                 cprms.use_hashed = 0;<br>
>         }<br>
> <br>
> Compiler might deallocate / overwrite struct digest_auth_credential after<br>
> exiting that block causing subsequent call to auth_api.calc_HA1() to access<br>
> bogus pointer.<br>
> <br>
> Rob, can you try applying the following commit and recompile/reinstall the<br>
> module in question and see if it helps?<br>
> <br>
> <a href="https://github.com/sippy/opensips/commit/fea6a1d60d70f64971dff3ec2dc83f7ddc0" rel="noreferrer" target="_blank">https://github.com/sippy/opensips/commit/fea6a1d60d70f64971dff3ec2dc83f7ddc0</a><br>
> 0389d<br>
> <br>
> Thanks!<br>
> <br>
> -Max<br>
> <br>
> On Mon, Sep 27, 2021 at 12:48 AM Liviu Chircu <<a href="mailto:liviu@opensips.org" target="_blank">liviu@opensips.org</a>> wrote:<br>
> > On 27.09.2021 03:56, Rob Dyck wrote:<br>
> > > I am seeing the same. opensips-3.2.2 compiled from git source on Fedora.<br>
> > <br>
> > Thank you for the help, gents!  Let's see if I can reproduce it...<br>
> > should be fairly straightforward.<br>
> > <br>
> > Best,<br>
> > <br>
> > --<br>
> > Liviu Chircu<br>
> > <a href="http://www.twitter.com/liviuchircu" rel="noreferrer" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
> > <br>
> > <br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
<br>
</blockquote></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><br></div></div></div>