<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:20:59 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-4457] Dropping QE collection with nonexistent state collections &amp; NULL error pointer causes segmentation fault</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4457</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary&lt;/h4&gt;
&lt;p&gt;Dropping a QE-encrypted collection using &lt;tt&gt;mongoc_collection_drop(coll, NULL)&lt;/tt&gt; results in a segmentation fault if any of the associated state collections (eg. ESC, ECC, and ECOC) do not exist. The cause is a NULL dereference on the &lt;tt&gt;error&lt;/tt&gt; pointer in &lt;tt&gt;drop_with_opts_with_encryptedFields()&lt;/tt&gt; when checking whether the attempt to drop the state collection failed with a &lt;tt&gt;MONGOC_SERVER_ERR_NS_NOT_FOUND&lt;/tt&gt;.&lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Environment&quot;&gt;&lt;/a&gt;Environment&lt;/h4&gt;
&lt;p&gt;libmongoc v1.22.1, compiled with &lt;tt&gt;-DENABLE_CLIENT_SIDE_ENCRYPTION=ON&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2114986">CDRIVER-4457</key>
            <summary>Dropping QE collection with nonexistent state collections &amp; NULL error pointer causes segmentation fault</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="erwin.pe@mongodb.com">Erwin Pe</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Aug 2022 13:53:56 +0000</created>
                <updated>Sat, 28 Oct 2023 11:28:00 +0000</updated>
                            <resolved>Tue, 4 Oct 2022 20:07:08 +0000</resolved>
                                                    <fixVersion>1.23.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4877957" author="xgen-internal-githook" created="Tue, 4 Oct 2022 20:07:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4457&quot; title=&quot;Dropping QE collection with nonexistent state collections &amp;amp; NULL error pointer causes segmentation fault&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4457&quot;&gt;&lt;del&gt;CDRIVER-4457&lt;/del&gt;&lt;/a&gt; fix NULL deref on QE collection drop (#1113)&lt;/p&gt;

&lt;p&gt;Fixes a NULL dereference when mongoc_collection_drop is called with a NULL bson_error_t for a Queryable Encryption collection&lt;br/&gt;
Branch: r1.23&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9442032765654f4487901d040a4a7324dfb02027&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9442032765654f4487901d040a4a7324dfb02027&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4877954" author="xgen-internal-githook" created="Tue, 4 Oct 2022 20:06:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-4457&quot; title=&quot;Dropping QE collection with nonexistent state collections &amp;amp; NULL error pointer causes segmentation fault&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-4457&quot;&gt;&lt;del&gt;CDRIVER-4457&lt;/del&gt;&lt;/a&gt; fix NULL deref on QE collection drop (#1113)&lt;/p&gt;

&lt;p&gt;Fixes a NULL dereference when mongoc_collection_drop is called with a NULL bson_error_t for a Queryable Encryption collection&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d217ff83f852f14c9cb7b0e400b4ce983c2edf2e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d217ff83f852f14c9cb7b0e400b4ce983c2edf2e&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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|i0pak8:</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>