<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:44:27 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>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-4629] Issues found by static analysis tools</title>
                <link>https://jira.whamcloud.com/browse/LU-4629</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This is a common ticket for all issues found by static analysis tools.&lt;br/&gt;
The several patches are expected for this ticket.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23151">LU-4629</key>
            <summary>Issues found by static analysis tools</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/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="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="dmiter">Dmitry Eremin</reporter>
                        <labels>
                            <label>kw</label>
                    </labels>
                <created>Thu, 13 Feb 2014 19:32:52 +0000</created>
                <updated>Wed, 30 Aug 2023 21:40:00 +0000</updated>
                            <resolved>Fri, 20 Jun 2014 05:07:01 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="77659" author="dmiter" created="Fri, 21 Feb 2014 20:35:30 +0000"  >&lt;p&gt;Reviewed patches can be observed by &lt;a href=&quot;http://review.whamcloud.com/#/q/message:LU-4629,n,z&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/q/message:LU-4629,n,z&lt;/a&gt;&lt;br/&gt;
Merged patches can be observed by &lt;a href=&quot;http://review.whamcloud.com/#/q/message:LU-4629+status:merged,n,z&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/q/message:LU-4629+status:merged,n,z&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="78635" author="simmonsja" created="Thu, 6 Mar 2014 21:51:25 +0000"  >&lt;p&gt;I noticed several of these patches handle code paths that previously ignored returned NULL pointers. What I find confusing is when is LASSERT a proper solution versus just handling the error condition. There doesn&apos;t seem to be any clear standard in this practice in the Lustre code.&lt;/p&gt;</comment>
                            <comment id="82176" author="tappro" created="Tue, 22 Apr 2014 17:53:43 +0000"  >&lt;p&gt;James, there are two types of &apos;capsules&apos; - server and client. Client &apos;capsule&apos; is request buffers packed on client, server - packed reply buffers on server. So the main rule is to don&apos;t assert on wire data, so server must checks all clients buffers and return -EPROTO on them in case of error, the client must do the same for server buffers. Meanwhile server may assert on own just packed reply buffers because this means internal logic error in code, e.g. buffer wasn&apos;t properly packed. Just an error code is not working well in such cases because may be not noticed for a long time, while assertion will occur during new code development/testing, well, it should at least. &lt;/p&gt;

&lt;p&gt;So we are talking about two different cases - checking the incoming data through the wire (protocol correctness) and internal checks for code correctness, e.g. buffer must exists after successful allocation.&lt;/p&gt;</comment>
                            <comment id="82986" author="simmonsja" created="Thu, 1 May 2014 13:57:18 +0000"  >&lt;p&gt;Thank you Mikhail for the explanation. I have noticed several patches deal with strncpy issues. Why not use the kernels internal kstr* functions instead. This would seem a better way to go. We just have to implement wrappers for the non linux platforms.&lt;/p&gt;</comment>
                            <comment id="83176" author="dmiter" created="Mon, 5 May 2014 12:36:47 +0000"  >&lt;p&gt;In most places buffer already allocated and usage of kstrndup() is not appropriate. Also I don&apos;t think that allocation many little chunks is a good idea. I prefer to allocate big chunk once instead of many small.&lt;/p&gt;</comment>
                            <comment id="86140" author="dmiter" created="Mon, 9 Jun 2014 19:18:22 +0000"  >&lt;p&gt;Add more patches: &lt;a href=&quot;http://review.whamcloud.com/#/q/message:LU-4629,n,z&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/q/message:LU-4629,n,z&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="87133" author="pjones" created="Fri, 20 Jun 2014 05:07:01 +0000"  >&lt;p&gt;Remaining open patches landed for 2.6. Any future such issues will be tracked under new tickets linked to this one&lt;/p&gt;</comment>
                            <comment id="96952" author="icostelloddn" created="Tue, 21 Oct 2014 23:59:38 +0000"  >&lt;p&gt;Hi Peter, Oleg&lt;/p&gt;

&lt;p&gt;Could we get this one bug completed with the review process and committed to 2.5?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ian Costello&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="25086">LU-5172</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="33816">LU-7595</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49410">LU-10264</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50753">LU-10657</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50754">LU-10658</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50824">LU-10668</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51108">LU-10772</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51335">LU-10811</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51734">LU-10896</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25672">LU-5384</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32892">LU-7354</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17451">LU-2753</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50287">LU-10528</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="27390">LU-5831</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27391">LU-5832</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27461">LU-5865</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27466">LU-5869</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27879">LU-6021</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="44299">LU-10809</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52241">LU-11021</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25162">LU-5200</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25517">LU-5316</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24581">LU-5382</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24809">LU-5383</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26038">LU-5493</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27460">LU-5864</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27469">LU-5870</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27597">LU-5922</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36864">LU-8128</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="43383">LU-9057</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="43556">LU-9077</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="44071">LU-9152</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="45401">LU-9315</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="46125">LU-9513</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17713">LU-2875</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzwf2v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12663</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

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