<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:12:08 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-1316] Copy strings referred by mongoc_ssl_opts_t</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1316</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;As reported by &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; here:&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/490&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/490&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;... it&apos;s surprising and dangerous that mongoc_client_set_ssl_opts and mongoc_client_pool_set_ssl_opts copy only the options struct, and not also the strings to which it refers.&lt;/p&gt;</description>
                <environment></environment>
        <key id="291562">CDRIVER-1316</key>
            <summary>Copy strings referred by mongoc_ssl_opts_t</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="ian.boros@mongodb.com">Ian Boros</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                            <label>intern2016</label>
                    </labels>
                <created>Sat, 4 Jun 2016 21:25:59 +0000</created>
                <updated>Fri, 7 Apr 2017 17:58:42 +0000</updated>
                            <resolved>Wed, 8 Jun 2016 15:13:32 +0000</resolved>
                                                    <fixVersion>1.4.0</fixVersion>
                                    <component>libmongoc</component>
                    <component>tls</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1543887" author="xgen-internal-githook" created="Fri, 7 Apr 2017 17:58:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: Merge remote-tracking branch &apos;upstream/master&apos;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;upstream/master:&lt;br/&gt;
  Fix typo&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2121&quot; title=&quot;Missing return type and contradictory parameter information in mongoc_client_set_ssl_opts() documentation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2121&quot;&gt;&lt;del&gt;CDRIVER-2121&lt;/del&gt;&lt;/a&gt; Remove legacy info&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2121&quot; title=&quot;Missing return type and contradictory parameter information in mongoc_client_set_ssl_opts() documentation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2121&quot;&gt;&lt;del&gt;CDRIVER-2121&lt;/del&gt;&lt;/a&gt; Update set_ssl_opts since &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
  &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2120&quot; title=&quot;Add MONGOC_TEST_COMPRESSORS to test suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2120&quot;&gt;&lt;del&gt;CDRIVER-2120&lt;/del&gt;&lt;/a&gt; Add MONGOC_TEST_COMPRESSORS to the test suite&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/9d8d916b5feb04eac34854f71f555936aefbfb91&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/9d8d916b5feb04eac34854f71f555936aefbfb91&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="1543751" author="xgen-internal-githook" created="Fri, 7 Apr 2017 16:12:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;bjori&apos;, u&apos;name&apos;: u&apos;Hannes Magnusson&apos;, u&apos;email&apos;: u&apos;bjori@php.net&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2121&quot; title=&quot;Missing return type and contradictory parameter information in mongoc_client_set_ssl_opts() documentation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2121&quot;&gt;&lt;del&gt;CDRIVER-2121&lt;/del&gt;&lt;/a&gt; Update set_ssl_opts since &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/0f53bcffe6bd04d680ef37d74dab7c0c5b1080db&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/0f53bcffe6bd04d680ef37d74dab7c0c5b1080db&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1289619" author="xgen-internal-githook" created="Thu, 9 Jun 2016 18:26:11 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;puppyofkosh&apos;, u&apos;name&apos;: u&apos;puppyofkosh&apos;, u&apos;email&apos;: u&apos;puppyofkosh@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt; Fixed ENABLE_SSL compile issue (#331)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/08ae3dd43ac49f30114345497db07588f3369fe6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/08ae3dd43ac49f30114345497db07588f3369fe6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1288391" author="jesse" created="Wed, 8 Jun 2016 19:36:28 +0000"  >&lt;p&gt;No backport; I&apos;m hoping not to do 1.3.6 at all, and if it is it&apos;ll be for incendiary bugs only.&lt;/p&gt;</comment>
                            <comment id="1288226" author="bjori" created="Wed, 8 Jun 2016 18:08:08 +0000"  >&lt;p&gt;That doesn&apos;t sound like a good idea at all.&lt;/p&gt;

&lt;p&gt;These are no longer consts, and I worry about the case where people use (or just read the docs for) the latest version of the driver, and then deploy on 1.3.5, and kaboom.&lt;/p&gt;

&lt;p&gt;Unless the docs are clearly updated with backwards and future compatible example, I don&apos;t think we should merge this to 1.3&lt;/p&gt;</comment>
                            <comment id="1288221" author="acm" created="Wed, 8 Jun 2016 18:04:38 +0000"  >&lt;p&gt;Will this get backported to the 1.3 release? I don&apos;t need it to be as I&apos;ve worked around the issue for now, but per the comment in &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/490&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/490&lt;/a&gt; it sounds ilke it could be?&lt;/p&gt;</comment>
                            <comment id="1287955" author="xgen-internal-githook" created="Wed, 8 Jun 2016 15:13:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@emptysquare.net&apos;}
&lt;p&gt;Message: Merge pull request #329 from puppyofkosh/&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt;: copy strings from mongoc_ssl_opt_t&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6cbb6c06fca1c1bcd4b6cdd9ee7b9f47419854f4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6cbb6c06fca1c1bcd4b6cdd9ee7b9f47419854f4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1287954" author="xgen-internal-githook" created="Wed, 8 Jun 2016 15:12:59 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@emptysquare.net&apos;}
&lt;p&gt;Message: Merge pull request #329 from puppyofkosh/&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt;: copy strings from mongoc_ssl_opt_t&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/6cbb6c06fca1c1bcd4b6cdd9ee7b9f47419854f4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/6cbb6c06fca1c1bcd4b6cdd9ee7b9f47419854f4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1287953" author="xgen-internal-githook" created="Wed, 8 Jun 2016 15:12:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;ian boros&apos;, u&apos;email&apos;: u&apos;iboros@MacBook-Pro-57.local&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1316&quot; title=&quot;Copy strings referred by mongoc_ssl_opts_t&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1316&quot;&gt;&lt;del&gt;CDRIVER-1316&lt;/del&gt;&lt;/a&gt;: copy strings from mongoc_ssl_opt_t&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/15c95548259e31b5cf4adc84d1f761e48e2bccc7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/15c95548259e31b5cf4adc84d1f761e48e2bccc7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1285124" author="jesse" created="Mon, 6 Jun 2016 15:26:13 +0000"  >&lt;p&gt;Help users not segfault their process if they pass a temporary string as part of the driver&apos;s SSL configuration.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="281724">CDRIVER-1209</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="281877">PHPC-677</issuekey>
        </issuelink>
                            </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|hrcygv:</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>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="970">C Driver 2016 sprint 5</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>