<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:11: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-1184] Segfault in bson_writer</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1184</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The following code creates the segfault when a sufficiently sized json file is used:&lt;br/&gt;
...&lt;br/&gt;
      bwrit = bson_writer_new (&amp;amp;bbuf, &amp;amp;bblen, 0, bson_realloc_ctx, NULL);&lt;br/&gt;
      bson_writer_begin(bwrit, &amp;amp;udt);&lt;br/&gt;
      udt=bson_new_from_json((uint8_t*) jdat, -1, NULL);&lt;br/&gt;
      bson_writer_end(bwrit);&lt;/p&gt;

&lt;p&gt;The backtrace is as follows:&lt;/p&gt;

&lt;p&gt;memset (__len=5, __ch=0, __dest=0x1) at /usr/include/x86_64-linux-gnu/bits/string3.h:90&lt;br/&gt;
bson_writer_begin (writer=writer@entry=0xe4b6b0, bson=bson@entry=0x7fffffffd480) at src/bson/bson-writer.c:205&lt;/p&gt;</description>
                <environment>Ubuntu 15.10 AMD64bit</environment>
        <key id="276277">CDRIVER-1184</key>
            <summary>Segfault in bson_writer</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="5">Cannot Reproduce</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="pichilds">Paul Childs</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Mar 2016 08:47:32 +0000</created>
                <updated>Wed, 3 May 2017 22:15:17 +0000</updated>
                            <resolved>Fri, 1 Apr 2016 18:19:39 +0000</resolved>
                                                                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1222842" author="jesse" created="Fri, 1 Apr 2016 18:19:39 +0000"  >&lt;p&gt;Paul, please feel free to reopen this ticket with more info and we&apos;ll resume the investigation. Thanks.&lt;/p&gt;</comment>
                            <comment id="1221813" author="bjori" created="Thu, 31 Mar 2016 21:34:54 +0000"  >&lt;p&gt;What is sufficiently sized json file?&lt;/p&gt;

&lt;p&gt;I&apos;m not able to reproduce this with a 50gb json file.&lt;br/&gt;
Does matter how many documents are in it? the size of the file? The length of the fields?&lt;/p&gt;</comment>
                            <comment id="1221121" author="jesse" created="Thu, 31 Mar 2016 13:22:17 +0000"  >&lt;p&gt;Thanks for the report, we&apos;ll investigate.&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|hsjxw7:</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>