<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:13:20 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-7952] Suspicious dereference of pointer before NULL check in osp_declare_xattr_get()</title>
                <link>https://jira.whamcloud.com/browse/LU-7952</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Suspicious dereference of pointer &apos;name&apos; by passing argument 1 to function &apos;strlen&apos; at line 841 before NULL check at line 845&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;An event which alters the program&apos;s state, leading to the defect&lt;br/&gt;
osp_object.c:841: &apos;name&apos; is dereferenced by being passed as argument 1 to function &apos;strlen&apos;.&lt;/li&gt;
	&lt;li&gt;An event which alters the program&apos;s state, leading to the defect&lt;br/&gt;
osp_object.c:845: &apos;name&apos; is checked for NULL.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;841			__u16			 namelen = strlen(name);
842			&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;			 rc	 = 0;
843		 
844			LASSERT(buf != NULL);
845			LASSERT(name != NULL);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="35699">LU-7952</key>
            <summary>Suspicious dereference of pointer before NULL check in osp_declare_xattr_get()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="wc-triage">WC Triage</assignee>
                                    <reporter username="dmiter">Dmitry Eremin</reporter>
                        <labels>
                            <label>kw</label>
                    </labels>
                <created>Tue, 29 Mar 2016 18:15:26 +0000</created>
                <updated>Fri, 23 Dec 2016 13:40:53 +0000</updated>
                            <resolved>Fri, 23 Dec 2016 13:40:53 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="156484" author="gerrit" created="Wed, 22 Jun 2016 13:35:58 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20919&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20919&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7952&quot; title=&quot;Suspicious dereference of pointer before NULL check in osp_declare_xattr_get()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7952&quot;&gt;&lt;del&gt;LU-7952&lt;/del&gt;&lt;/a&gt; osp: Move strlen() call below LASSERT()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1f2d50c447df5e47e89e61720d38efd55d804e67&lt;/p&gt;</comment>
                            <comment id="178914" author="gerrit" created="Fri, 23 Dec 2016 05:05:20 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/20919/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/20919/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7952&quot; title=&quot;Suspicious dereference of pointer before NULL check in osp_declare_xattr_get()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7952&quot;&gt;&lt;del&gt;LU-7952&lt;/del&gt;&lt;/a&gt; osp: Move strlen() call below LASSERT()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6719f3102abd39fd1af7d2ba34cb39a7ebb37339&lt;/p&gt;</comment>
                            <comment id="178943" author="pjones" created="Fri, 23 Dec 2016 13:40:53 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                    <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|hzy67b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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>