<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:08:17 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-43] avoid NULL-deref (gridfs_store_stream_init API change)</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-43</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;There are two unchecked malloc calls in the void-typed gridfs_store_stream_init function.&lt;br/&gt;
To handle the possibility of NULL return, the function must return non-void.  I chose &quot;int&quot;&lt;br/&gt;
in the attached patch.&lt;/p&gt;

&lt;p&gt;Also, it&apos;s cleaner to use &quot;strdup&quot; rather than the combination of malloc and strcpy.&lt;/p&gt;</description>
                <environment>latest from git, Fedora 14, x86_64</environment>
        <key id="14779">CDRIVER-43</key>
            <summary>avoid NULL-deref (gridfs_store_stream_init API change)</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="3">Duplicate</resolution>
                                        <assignee username="kbanker">Kyle Banker</assignee>
                                    <reporter username="meyering">Jim Meyering</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Feb 2011 16:44:31 +0000</created>
                <updated>Wed, 3 May 2017 22:14:28 +0000</updated>
                            <resolved>Thu, 17 Feb 2011 20:17:24 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="24154" author="kbanker" created="Thu, 17 Feb 2011 20:17:24 +0000"  >&lt;p&gt;I went ahead and linked this to the more specific cases you opened.&lt;/p&gt;</comment>
                            <comment id="24121" author="kbanker" created="Thu, 17 Feb 2011 16:47:31 +0000"  >&lt;p&gt;Thanks. I&apos;ll commit fixes for these today and will be changing the API somewhat. gridfs_store_stream_init is still a prototype at this point.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="14781">CDRIVER-45</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="14780">CDRIVER-44</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="10844" name="0002-avoid-NULL-deref-gridfs_store_stream_init-API-change.patch" size="2457" author="meyering" created="Thu, 17 Feb 2011 16:44:31 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hrh6xb:</customfieldvalue>

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