<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:47 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-7077] Pointer &apos;hash&apos; returned from call to function &apos;cfs_hash_getref&apos; may be NULL and will be dereferenced.</title>
                <link>https://jira.whamcloud.com/browse/LU-7077</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lustre/obdclass/genops.c:944&lt;/p&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;hash = cfs_hash_getref(exp-&amp;gt;exp_obd-&amp;gt;obd_gen_hash);
cfs_hash_del(hash, &amp;amp;ted-&amp;gt;ted_lcd-&amp;gt;lcd_generation,
	     &amp;amp;exp-&amp;gt;exp_gen_hash);
cfs_hash_putref(hash);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;struct cfs_hash *cfs_hash_getref(struct cfs_hash *hs)
{
	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (atomic_inc_not_zero(&amp;amp;hs-&amp;gt;hs_refcount))
		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; hs;
	&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; NULL;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31833">LU-7077</key>
            <summary>Pointer &apos;hash&apos; returned from call to function &apos;cfs_hash_getref&apos; may be NULL and will be dereferenced.</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="bogl">Bob Glossman</assignee>
                                    <reporter username="dmiter">Dmitry Eremin</reporter>
                        <labels>
                            <label>kw</label>
                    </labels>
                <created>Tue, 1 Sep 2015 09:46:52 +0000</created>
                <updated>Fri, 20 Nov 2015 15:30:51 +0000</updated>
                            <resolved>Fri, 20 Nov 2015 15:30:51 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="125847" author="dmiter" created="Tue, 1 Sep 2015 09:49:28 +0000"  >&lt;p&gt;This was introduced in &lt;a href=&quot;http://review.whamcloud.com/15576&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15576&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="127691" author="gerrit" created="Thu, 17 Sep 2015 19:12:21 +0000"  >&lt;p&gt;Bob Glossman (bob.glossman@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16473&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16473&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7077&quot; title=&quot;Pointer &amp;#39;hash&amp;#39; returned from call to function &amp;#39;cfs_hash_getref&amp;#39; may be NULL and will be dereferenced.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7077&quot;&gt;&lt;del&gt;LU-7077&lt;/del&gt;&lt;/a&gt; target: avoid using possible error return NULL pointer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fa02a91e622631096b83021d31b0aa6781950662&lt;/p&gt;</comment>
                            <comment id="128412" author="di.wang" created="Thu, 24 Sep 2015 18:10:45 +0000"  >&lt;p&gt;Dmitry, could you please comment on &lt;a href=&quot;http://review.whamcloud.com/#/c/16473/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/16473/1&lt;/a&gt; ? thanks&lt;/p&gt;</comment>
                            <comment id="128604" author="dmiter" created="Mon, 28 Sep 2015 13:00:21 +0000"  >&lt;p&gt;This issue was found by static analysis checker. So, we didn&apos;t get a real crash because of it. The question is can we gracefully handle errors or not.&lt;/p&gt;</comment>
                            <comment id="134011" author="gerrit" created="Thu, 19 Nov 2015 22:03:33 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16473/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16473/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7077&quot; title=&quot;Pointer &amp;#39;hash&amp;#39; returned from call to function &amp;#39;cfs_hash_getref&amp;#39; may be NULL and will be dereferenced.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7077&quot;&gt;&lt;del&gt;LU-7077&lt;/del&gt;&lt;/a&gt; target: avoid using possible error return NULL pointer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a7eface85ea2d2aa6198681264b082a0244855d4&lt;/p&gt;</comment>
                            <comment id="134071" author="jgmitter" created="Fri, 20 Nov 2015 15:30:51 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31059">LU-6840</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzxlyn:</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>