<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:13:16 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-7943] Suspicious dereference of pointer before NULL check</title>
                <link>https://jira.whamcloud.com/browse/LU-7943</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Suspicious dereference of pointer &apos;sname&apos; before NULL check at line 786&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;
mdd_dir.c:782: &apos;sname&apos; is dereferenced.&lt;/li&gt;
	&lt;li&gt;An event which alters the program&apos;s state, leading to the defect&lt;br/&gt;
mdd_dir.c:786: &apos;sname&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;776		&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; void mdd_changelog_rec_ext_rename(struct changelog_rec *rec,
777							 &lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct lu_fid *sfid,
778							 &lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct lu_fid *spfid,
779							 &lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; struct lu_name *sname)
780		{
781			struct changelog_ext_rename	*rnm = changelog_rec_rename(rec);
782			size_t				 extsize = sname-&amp;gt;ln_namelen + 1;
783		 
784			LASSERT(sfid != NULL);
785			LASSERT(spfid != NULL);
786			LASSERT(sname != NULL);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="35684">LU-7943</key>
            <summary>Suspicious dereference of pointer before NULL check</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="arshad512">Arshad Hussain</assignee>
                                    <reporter username="dmiter">Dmitry Eremin</reporter>
                        <labels>
                            <label>kw</label>
                    </labels>
                <created>Tue, 29 Mar 2016 17:08:43 +0000</created>
                <updated>Mon, 21 May 2018 17:45:19 +0000</updated>
                            <resolved>Mon, 21 May 2018 17:45:19 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="227777" author="gerrit" created="Sat, 12 May 2018 09:11:58 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32376&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32376&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7943&quot; title=&quot;Suspicious dereference of pointer before NULL check&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7943&quot;&gt;&lt;del&gt;LU-7943&lt;/del&gt;&lt;/a&gt; mdd: Move assignment after LASSERT()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 145e1b167e8d4609690d60d8e65c341022ca5b31&lt;/p&gt;</comment>
                            <comment id="228259" author="gerrit" created="Mon, 21 May 2018 16:56:32 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32376/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32376/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7943&quot; title=&quot;Suspicious dereference of pointer before NULL check&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7943&quot;&gt;&lt;del&gt;LU-7943&lt;/del&gt;&lt;/a&gt; mdd: Move assignment after LASSERT()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a5161cc005aeb383cb326a32976f8d43e7594bb3&lt;/p&gt;</comment>
                            <comment id="228271" author="pjones" created="Mon, 21 May 2018 17:45:19 +0000"  >&lt;p&gt;Landed for 2.12&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|hzy63z:</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>