<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:42:03 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-4362] cfs_hash_rehash_key() passed wrong parameters to cfs_hash_keycpy</title>
                <link>https://jira.whamcloud.com/browse/LU-4362</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;cfs_hash_rehash_key()-&amp;gt;cfs_hash_keycpy(hs, new_key, hnode);&lt;br/&gt;
but define of cfs_hash_keycpy is:&lt;br/&gt;
void cfs_hash_keycpy(cfs_hash_t *hs, struct hlist_node *hnode, void *key)&lt;/p&gt;

&lt;p&gt;This is very dangerous because it can corrupt memory.&lt;br/&gt;
I will post a patch soon&lt;/p&gt;</description>
                <environment></environment>
        <key id="22384">LU-4362</key>
            <summary>cfs_hash_rehash_key() passed wrong parameters to cfs_hash_keycpy</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="liang">Liang Zhen</assignee>
                                    <reporter username="liang">Liang Zhen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Dec 2013 12:37:04 +0000</created>
                <updated>Wed, 20 Jan 2016 23:04:06 +0000</updated>
                            <resolved>Wed, 18 Dec 2013 16:02:45 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.4.2</fixVersion>
                    <fixVersion>Lustre 2.5.1</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="73066" author="liang" created="Mon, 9 Dec 2013 12:42:25 +0000"  >&lt;p&gt;patch for master: &lt;a href=&quot;http://review.whamcloud.com/8509&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8509&lt;/a&gt;&lt;br/&gt;
patch for b2_4: &lt;a href=&quot;http://review.whamcloud.com/8510&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8510&lt;/a&gt;&lt;br/&gt;
patch for b2_1: &lt;a href=&quot;http://review.whamcloud.com/8511&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8511&lt;/a&gt;&lt;br/&gt;
patch for b2_5: &lt;a href=&quot;http://review.whamcloud.com/8512&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/8512&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="73187" author="knweiss" created="Tue, 10 Dec 2013 12:54:32 +0000"  >&lt;p&gt;IMHO the interesting question is: Why couldn&apos;t the compiler help to prevent this bug as a type error in the first place? Wouldn&apos;t it help if the prototype of cfs_hash_keycpy() did not use a void* type for the &quot;key&quot; argument?&lt;/p&gt;</comment>
                            <comment id="73269" author="liang" created="Wed, 11 Dec 2013 09:31:06 +0000"  >&lt;p&gt;Karsten, I will add const for key type in upcoming patch, which can prevent this from happening. &lt;/p&gt;</comment>
                            <comment id="73751" author="pjones" created="Wed, 18 Dec 2013 16:02:45 +0000"  >&lt;p&gt;Landed for 2.4.2 and 2.6. Will land for 2.5.1 shortly&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <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|hzwaxb:</customfieldvalue>

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