<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:55:32 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-1224] Data codecs may mis-enforce String length constraints</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1224</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;RFC7950 states that:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt; A &quot;length&quot; statement restricts the number of Unicode characters in
 the string.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is distinct diffrent what java.lang.String.length() provides:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Returns the length of this string. The length is equal to the number of Unicode code units in the string.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;with the following (from java.lang.Character):&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;In the Java SE API documentation, Unicode code point is used for character values in the range between U+0000 and U+10FFFF,
and Unicode code unit is used for 16-bit char values that are code units of the UTF-16 encoding.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;We should not be checking the String.length(), but rather String.codePointCount(). Audit all enforcement points for correct checks.&lt;/p&gt;</description>
                <environment></environment>
        <key id="33783">YANGTOOLS-1224</key>
            <summary>Data codecs may mis-enforce String length constraints</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Sun, 7 Feb 2021 20:04:05 +0000</created>
                <updated>Wed, 24 Feb 2021 10:49:17 +0000</updated>
                            <resolved>Wed, 24 Feb 2021 10:49:17 +0000</resolved>
                                                    <fixVersion>7.0.0</fixVersion>
                    <fixVersion>5.0.9</fixVersion>
                    <fixVersion>6.0.5</fixVersion>
                                    <component>codecs</component>
                    <component>data-util</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="33841">MDSAL-661</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03x07:</customfieldvalue>

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