<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:18:15 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-3507] common-b64.c: comparison of unsigned value to -1</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3507</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Lines 288-290 of mongo-c-driver-1.16.0/src/common/common-b64.c:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;for (i = 1; i &amp;lt; 256; ++i) {&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;&#160; ch = (unsigned char) i;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; /* Whitespaces */&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;&#160; if (ch &amp;gt;= -1 &amp;amp;&amp;amp; ch &amp;lt;= 255 &amp;amp;&amp;amp; isspace (ch))&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;ch is unsigned; it&apos;s never not going to be greater than or equal to -1. Further, you&apos;re iterating in a loop from 1 to 255 in the first place; not sure where a -1 is going to sneak in there, frankly.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>clang compiler, any platform</environment>
        <key id="1118596">CDRIVER-3507</key>
            <summary>common-b64.c: comparison of unsigned value to -1</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="alb@neptunesystems.com">Allan Bazinet</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Jan 2020 16:53:58 +0000</created>
                <updated>Wed, 29 Jan 2020 22:09:34 +0000</updated>
                            <resolved>Wed, 29 Jan 2020 22:09:34 +0000</resolved>
                                    <version>1.16.0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2771619" author="kevin.albertson" created="Wed, 29 Jan 2020 22:09:34 +0000"  >&lt;p&gt;Thanks for the report &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alb%40neptunesystems.com&quot; class=&quot;user-hover&quot; rel=&quot;alb@neptunesystems.com&quot;&gt;alb@neptunesystems.com&lt;/a&gt;. This will be fixed in 1.16.1 under the ticket &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3489&quot; title=&quot;Fix and deduplicate safe isspace checks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3489&quot;&gt;&lt;del&gt;CDRIVER-3489&lt;/del&gt;&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|hw9suv:</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>