<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:03 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-2384] mongoc_bulk_operation_execute() returns before initializing reply bson_t</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2384</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Regression added to 1.6.0 by &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1138&quot; title=&quot;Test with undefined behavior sanitizer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1138&quot;&gt;&lt;del&gt;CDRIVER-1138&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It is now possible for &lt;tt&gt;mongoc_bulk_operation_execute()&lt;/tt&gt; to return before initializing the &lt;tt&gt;reply&lt;/tt&gt; (i.e. when &lt;tt&gt;bulk-&amp;gt;client&lt;/tt&gt; is null).&lt;/p&gt;</description>
                <environment></environment>
        <key id="460573">CDRIVER-2384</key>
            <summary>mongoc_bulk_operation_execute() returns before initializing reply bson_t</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="gbw4th">Graham Whitted</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Nov 2017 20:18:19 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:18 +0000</updated>
                            <resolved>Sat, 18 Nov 2017 18:38:51 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1729677" author="xgen-internal-githook" created="Sat, 18 Nov 2017 18:25:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2384&quot; title=&quot;mongoc_bulk_operation_execute() returns before initializing reply bson_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2384&quot;&gt;&lt;del&gt;CDRIVER-2384&lt;/del&gt;&lt;/a&gt; test bulk_execute error&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/bafeb53590be8b64c115d3ef65cd54963df24585&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/bafeb53590be8b64c115d3ef65cd54963df24585&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1729648" author="xgen-internal-githook" created="Sat, 18 Nov 2017 16:12:34 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Graham Whitted&apos;, &apos;username&apos;: &apos;gwhitted&apos;, &apos;email&apos;: &apos;graham.whitted@disneyanimation.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2384&quot; title=&quot;mongoc_bulk_operation_execute() returns before initializing reply bson_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2384&quot;&gt;&lt;del&gt;CDRIVER-2384&lt;/del&gt;&lt;/a&gt; Fixed reply not being initialized&lt;/p&gt;

&lt;p&gt;Fixed monogc_bulk_operation_execute() so that it behaves as documented&lt;br/&gt;
and always initializes the reply bson_t before returning.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5c864a53e15cf130fca1a78fdc730f84d6e672a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5c864a53e15cf130fca1a78fdc730f84d6e672a7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1729392" author="gbw4th" created="Fri, 17 Nov 2017 22:10:32 +0000"  >&lt;p&gt;Done.&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/462&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/462&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1729290" author="jesse" created="Fri, 17 Nov 2017 20:40:13 +0000"  >&lt;p&gt;Nice catch, thanks. Want to make a pull request to master on GitHub?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="171283" name="CDRIVER-2384.patch" size="748" author="gbw4th" created="Fri, 17 Nov 2017 20:19:09 +0000"/>
                    </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|htbznz:</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>