<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:30 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-4290] _mongoc_cursor_fetch_stream may fail to check for non-null server stream</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4290</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;When &lt;tt&gt;_mongoc_cursor_fetch_stream&lt;/tt&gt; was modified in &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9eba451d603cfa92ae5e27cc3bbd2b40821a6560#diff-856f8692a2c9df572cb88c6d78e287e630897b83b91f8f125bf6642eb677ebebR669&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;9eba451&lt;/a&gt; for CDRIVER-3893, a code path was introduced where the return value of &lt;tt&gt;mongoc_cluster_stream_for_server&lt;/tt&gt; was no longer checked for a null value before access.&lt;/p&gt;

&lt;p&gt;There are few conditions where &lt;tt&gt;mongoc_cluster_stream_for_server&lt;/tt&gt; might return null, but I observed this through a segfault in &lt;a href=&quot;https://github.com/mongodb/mongo-php-driver/blob/1.12.0/tests/server/server-executeQuery-012.phpt#L43&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;PHPC&apos;s server-executeQuery-012.phpt test&lt;/a&gt; due a &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/1.21.0/src/libmongoc/src/mongoc/mongoc-cluster.c#L2334&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mismatched server hint and pinned client session&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1980814">CDRIVER-4290</key>
            <summary>_mongoc_cursor_fetch_stream may fail to check for non-null server stream</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="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Feb 2022 00:05:13 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:12 +0000</updated>
                            <resolved>Thu, 10 Feb 2022 15:34:59 +0000</resolved>
                                    <version>1.21.0</version>
                                    <fixVersion>1.21.1</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4348518" author="xgen-internal-githook" created="Thu, 10 Feb 2022 18:21:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: Skip test pending libmongoc segfault fix (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4290&quot; title=&quot;_mongoc_cursor_fetch_stream may fail to check for non-null server stream&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4290&quot;&gt;&lt;del&gt;CDRIVER-4290&lt;/del&gt;&lt;/a&gt;)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-php-driver/commit/220541ac3c4a549082105f34418a0a5eff5cb762&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-php-driver/commit/220541ac3c4a549082105f34418a0a5eff5cb762&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4347871" author="xgen-internal-githook" created="Thu, 10 Feb 2022 15:34:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4290&quot; title=&quot;_mongoc_cursor_fetch_stream may fail to check for non-null server stream&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4290&quot;&gt;&lt;del&gt;CDRIVER-4290&lt;/del&gt;&lt;/a&gt; check for null server stream in _mongoc_cursor_fetch_stream (#945)&lt;br/&gt;
Branch: r1.21&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/0631e099a5360a699e4c74507aec2be2c133d77c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/0631e099a5360a699e4c74507aec2be2c133d77c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4347869" author="xgen-internal-githook" created="Thu, 10 Feb 2022 15:33:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4290&quot; title=&quot;_mongoc_cursor_fetch_stream may fail to check for non-null server stream&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4290&quot;&gt;&lt;del&gt;CDRIVER-4290&lt;/del&gt;&lt;/a&gt; check for null server stream in _mongoc_cursor_fetch_stream (#945)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/7f4f9ffcd2702be5083875755104fa87582e1b64&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/7f4f9ffcd2702be5083875755104fa87582e1b64&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4346854" author="jmikola@gmail.com" created="Thu, 10 Feb 2022 00:09:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/945&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/945&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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|i02tr3:</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>