<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:20 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-2789] Occasional crash with mongodb+srv URI on Windows</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2789</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Reported by &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Jeroenooms&quot; class=&quot;user-hover&quot; rel=&quot;Jeroenooms&quot;&gt;Jeroenooms&lt;/a&gt;. On his particular Windows networking setup, when the C Driver makes a TXT query for the address specified in a mongodb+srv URI, it receives multiple responses that are &lt;b&gt;not&lt;/b&gt; TXT records; I&apos;ve observed A records in the results, maybe there are other record types. Apparently this is a behavior of the DnsQuery_UTF8 function we use on Windows. Since the C Driver assumes all responses to a TXT query are TXT records, and attempts to process them as TXT records, it reads an uninitialized field of the DNS_RECORD struct and crashes.&lt;/p&gt;

&lt;p&gt;On Windows, the driver should check each record&apos;s type before trying to process it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="584564">CDRIVER-2789</key>
            <summary>Occasional crash with mongodb+srv URI on Windows</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 Aug 2018 21:01:32 +0000</created>
                <updated>Sat, 28 Oct 2023 11:29:38 +0000</updated>
                            <resolved>Wed, 8 Aug 2018 15:50:44 +0000</resolved>
                                    <version>1.9.0</version>
                                    <fixVersion>1.13.0</fixVersion>
                                    <component>network</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1970526" author="jeroenooms" created="Wed, 8 Aug 2018 16:57:09 +0000"  >&lt;p&gt;Thanks! Looks good. I have cherry-picked the patch in mongolite:&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://github.com/jeroen/mongolite/commit/ad82edb18c18e099f5da567f36e8bc553f0552b5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/jeroen/mongolite/commit/ad82edb18c18e099f5da567f36e8bc553f0552b5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1970425" author="jesse" created="Wed, 8 Aug 2018 15:51:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=Jeroenooms&quot; class=&quot;user-hover&quot; rel=&quot;Jeroenooms&quot;&gt;Jeroenooms&lt;/a&gt; could you try the latest code once again with your Windows system to make sure it fixes the crash?&lt;/p&gt;</comment>
                            <comment id="1970424" author="xgen-internal-githook" created="Wed, 8 Aug 2018 15:50:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2789&quot; title=&quot;Occasional crash with mongodb+srv URI on Windows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2789&quot;&gt;&lt;del&gt;CDRIVER-2789&lt;/del&gt;&lt;/a&gt; crash with mongodb+srv on windows&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/ab210dc6604220662bb0c0d9fa05807470c175b1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/ab210dc6604220662bb0c0d9fa05807470c175b1&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1318392">CDRIVER-3628</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htvh27:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>