<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:55 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>[CONTROLLER-806] ICMP.computeChecksum() may cause ArrayIndexOutOfBoundsException.</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-806</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;ICMP.computeChecksum() causes ArrayIndexOutOfBoundsException if the size of&lt;br/&gt;
payload is odd.&lt;/p&gt;

&lt;p&gt;java.lang.ArrayIndexOutOfBoundsException: 49&lt;br/&gt;
        at org.opendaylight.controller.sal.packet.ICMP.computeChecksum(ICMP.java:199)&lt;br/&gt;
        at org.opendaylight.controller.sal.packet.ICMP.postSerializeCustomOperation(ICMP.java:210)&lt;br/&gt;
        at org.opendaylight.controller.sal.packet.Packet.serialize(Packet.java:194)&lt;/p&gt;

&lt;p&gt;In this case the payload needs to be padded with a zero octet for computing&lt;br/&gt;
the checksum.&lt;/p&gt;

&lt;p&gt;In addition, ICMP.computeChecksum() clears carry bits of the 16-bit checksum&lt;br/&gt;
incorrectly.&lt;/p&gt;

&lt;p&gt;        carry = (sum &amp;gt;&amp;gt; 16) &amp;amp; 0xFF;  &amp;lt;===&lt;br/&gt;
        finalSum = (sum &amp;amp; 0xFFFF) + carry;&lt;br/&gt;
        return (short) ~((short) finalSum &amp;amp; 0xFFFF);&lt;/p&gt;

&lt;p&gt;So it generates incorrect checksum if the 16-bit checksum overflows&lt;br/&gt;
more than 255 times.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25360">CONTROLLER-806</key>
            <summary>ICMP.computeChecksum() may cause ArrayIndexOutOfBoundsException.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="-1">Unassigned</assignee>
                                    <reporter username="yasuda">Shigeru Yasuda</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Sep 2014 06:48:38 +0000</created>
                <updated>Thu, 19 Oct 2017 22:13:14 +0000</updated>
                            <resolved>Tue, 5 May 2015 15:17:19 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="49116" author="yasuda" created="Thu, 11 Sep 2014 07:02:25 +0000"  >&lt;p&gt;I pushed a patch to fix ICMP checksum bugs.&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://git.opendaylight.org/gerrit/11024&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/11024&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="49117" author="carolsand@gmail.com" created="Tue, 5 May 2015 15:17:19 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.&lt;/p&gt;</comment>
                    </comments>
                    <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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1805</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=1805]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02mo7:</customfieldvalue>

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