<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:49 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-1529] mongoc_write_concern_destroy() may attempt to free null wtag pointer</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1529</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;I believe this issue dates back to the introduction of the wtag field in &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/2da6c03b74c33c859d39847cffa7042d261086ca&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;2da6c03&lt;/a&gt;. We never caught this in PHPC because our custom free function (for &lt;tt&gt;bson_mem_vtable_t&lt;/tt&gt;) would NOP on a null pointer; however, I&apos;m not sure why this wouldn&apos;t have been caught for the default memory handler, which uses &lt;tt&gt;free()&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="314702">CDRIVER-1529</key>
            <summary>mongoc_write_concern_destroy() may attempt to free null wtag pointer</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="9">Done</resolution>
                                        <assignee username="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Sep 2016 17:49:36 +0000</created>
                <updated>Wed, 3 May 2017 22:15:24 +0000</updated>
                            <resolved>Wed, 7 Sep 2016 21:24:18 +0000</resolved>
                                    <version>1.4.0</version>
                    <version>1.3.5</version>
                                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1378940" author="jmikola@gmail.com" created="Wed, 7 Sep 2016 21:24:05 +0000"  >&lt;p&gt;This only came up as a Valgrind warning while I was investigating a separate issue. Based on &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=acm&quot; class=&quot;user-hover&quot; rel=&quot;acm&quot;&gt;acm&lt;/a&gt;&apos;s insight (thanks for that), the conditional would just be unnecessary overhead so I&apos;ve closed the PR.&lt;/p&gt;</comment>
                            <comment id="1378738" author="jesse" created="Wed, 7 Sep 2016 18:51:43 +0000"  >&lt;p&gt;So Jeremy is there a crash you&apos;re debugging or did the code just look like a bug to you?&lt;/p&gt;</comment>
                            <comment id="1378642" author="acm" created="Wed, 7 Sep 2016 17:58:45 +0000"  >&lt;p&gt;But free(NULL) is defined to always be a no-op: &lt;a href=&quot;http://pubs.opengroup.org/onlinepubs/9699919799/functions/free.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pubs.opengroup.org/onlinepubs/9699919799/functions/free.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1378633" author="jmikola@gmail.com" created="Wed, 7 Sep 2016 17:53:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/396&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/pull/396&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|hspisv:</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>