<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14: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-2299] Write past end of buffer in bson_decimal128_to_string</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2299</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;When libbson translates to JSON the following decimal 128 data:&lt;/p&gt;

&lt;p&gt;00110000001100000011000000110000001100000011000000110000001100000011000000110000001100000011000000110000111111111111111110000000&lt;/p&gt;

&lt;p&gt;It should stringify it as:&lt;/p&gt;

&lt;p&gt;-1.036812917280316154812861194857272E-6015&lt;/p&gt;

&lt;p&gt;Instead it stringifies it incorrectly as:&lt;/p&gt;

&lt;p&gt;-1.0368129172803161548128611948572720E-6015&lt;/p&gt;

&lt;p&gt;The trailing zero is out of spec (there should only be 34 decimal digits, the &quot;0&quot; makes 35) and causes libbson to write a byte past the end of its fixed-size string buffer.&lt;/p&gt;

&lt;p&gt;This is low-impact: the byte past the end of a 43-byte buffer won&apos;t be used for anything by a compiler that word-aligns the following object.&lt;/p&gt;</description>
                <environment></environment>
        <key id="432563">CDRIVER-2299</key>
            <summary>Write past end of buffer in bson_decimal128_to_string</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="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Sep 2017 19:55:28 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:26 +0000</updated>
                            <resolved>Wed, 27 Sep 2017 20:31:46 +0000</resolved>
                                    <version>1.4.1</version>
                                    <fixVersion>1.9.0</fixVersion>
                                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1687965" author="xgen-internal-githook" created="Tue, 3 Oct 2017 16:03:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2299&quot; title=&quot;Write past end of buffer in bson_decimal128_to_string&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2299&quot;&gt;&lt;del&gt;CDRIVER-2299&lt;/del&gt;&lt;/a&gt; fix bson_decimal128_to_string overflow&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/a7ad680180221511725e60b737e806cb6e84b8ad&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/a7ad680180221511725e60b737e806cb6e84b8ad&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="270543">CDRIVER-1145</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|ht7gs7:</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>