<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:24:29 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-9245] lgss_sk may unsafely overwrite nodemap and fsname fields in keys</title>
                <link>https://jira.whamcloud.com/browse/LU-9245</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lgss_sk.c uses strncpy() to modify names of strings for both fsname and nodemap fields.  If the replacement string is smaller than the original string, it will not be zero terminated properly.  For example, replacing a nodemap name of &quot;default&quot; with &quot;c0&quot; with the lgss_sk utility can result in invalid names such as:&lt;/p&gt;

&lt;p&gt;Nodemap name:   c0fault&lt;/p&gt;

&lt;p&gt;I will submit a small patch to switch this to snprintf(), although being a little more verbose, will be safe to use on a parameter of variable length.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="44978">LU-9245</key>
            <summary>lgss_sk may unsafely overwrite nodemap and fsname fields in keys</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.whamcloud.com/images/icons/priorities/trivial.svg">Trivial</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="hannac">Chris Hanna</assignee>
                                    <reporter username="hannac">Chris Hanna</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Mar 2017 15:02:56 +0000</created>
                <updated>Tue, 18 Jul 2017 19:05:39 +0000</updated>
                            <resolved>Thu, 6 Apr 2017 04:00:38 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="189479" author="gerrit" created="Thu, 23 Mar 2017 18:35:10 +0000"  >&lt;p&gt;Chris Hanna (hannac@iu.edu) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26165&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26165&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9245&quot; title=&quot;lgss_sk may unsafely overwrite nodemap and fsname fields in keys&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9245&quot;&gt;&lt;del&gt;LU-9245&lt;/del&gt;&lt;/a&gt; utils: fix string copy handling within lgss_sk&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1cc5b70066e3b9ea646d3afd9403558f96730fe0&lt;/p&gt;</comment>
                            <comment id="190951" author="gerrit" created="Thu, 6 Apr 2017 01:01:13 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26165/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26165/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9245&quot; title=&quot;lgss_sk may unsafely overwrite nodemap and fsname fields in keys&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9245&quot;&gt;&lt;del&gt;LU-9245&lt;/del&gt;&lt;/a&gt; utils: fix string copy handling within lgss_sk&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 460ad9d609768e6d8182a2dfd1f24d5fcb0b3560&lt;/p&gt;</comment>
                            <comment id="190964" author="pjones" created="Thu, 6 Apr 2017 04:00:38 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                            <comment id="202524" author="hannac" created="Tue, 18 Jul 2017 18:32:22 +0000"  >&lt;p&gt;There&apos;s been a reversion here, this patch needs to be applied again to the 2.10 code.&lt;/p&gt;

&lt;p&gt;Do I need to submit the same patch again?&lt;/p&gt;</comment>
                            <comment id="202525" author="simmonsja" created="Tue, 18 Jul 2017 18:44:37 +0000"  >&lt;p&gt;We could roll it into the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8602&quot; title=&quot;Support GSS crypto code with linux 4.6 kernels&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8602&quot;&gt;&lt;del&gt;LU-8602&lt;/del&gt;&lt;/a&gt; patch. Does that sound reasonable?&lt;/p&gt;</comment>
                            <comment id="202527" author="hannac" created="Tue, 18 Jul 2017 18:47:02 +0000"  >&lt;p&gt;Sure!  It&apos;s a tiny patch, I only noticed the reversion because of a test failure.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="39754">LU-8602</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzz83z:</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="10023"><![CDATA[4]]></customfieldvalue>

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