<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:31:36 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-16980] format-truncation errors</title>
                <link>https://jira.whamcloud.com/browse/LU-16980</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While building master branch against kernel 6.2.0-26-generic with gcc 12.2.0, the following errors occurred:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;liblnetconfig.c: In function &apos;open_sysfs_file&apos;:
liblnetconfig.c:106:49: error: &apos;%s&apos; directive output may be truncated writing up to 127 bytes into a region of size between 1 and 128 [-Werror=format-truncation=]
  106 |         snprintf(filename, sizeof(filename), &quot;%s%s&quot;,
      |                                                 ^~
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;lfs_project.c: In function &#8216;lfs_project_handle_dir&#8217;:
lfs_project.c:324:50: error: &#8216;%s&#8217; directive output may be truncated writing up to 255 bytes into a region of size between 1 and 4095 [-Werror=format-truncation=]
  324 |                 snprintf(fullname, PATH_MAX, &quot;%s/%s&quot;, pathname,
      |                                                  ^~
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;statx.c: In function &#8216;do_dir_list&#8217;:
statx.c:1427:58: error: &#8216;%s&#8217; directive output may be truncated writing up to 255 bytes into a region of size between 1 and 4095 [-Werror=format-truncation=]
 1427 |                         snprintf(fullname, PATH_MAX, &quot;%s/%s&quot;,
      |                                                          ^~
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="77138">LU-16980</key>
            <summary>format-truncation errors</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Jul 2023 15:08:46 +0000</created>
                <updated>Mon, 7 Aug 2023 14:10:21 +0000</updated>
                            <resolved>Mon, 7 Aug 2023 14:10:21 +0000</resolved>
                                    <version>Lustre 2.16.0</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="380026" author="yujian" created="Tue, 25 Jul 2023 15:09:23 +0000"  >&lt;p&gt;More build errors:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;/root/lustre-release/libcfs/include/libcfs/util/list.h:481:42: error: pointer &#8216;tmp&#8217; used after &#8216;free&#8217; [-Werror=use-after-free]
  481 |              pos = list_entry(pos-&amp;gt;member.next, typeof(*pos), member),  \
      |                                          ^
/root/lustre-release/libcfs/include/libcfs/util/list.h:239:28: note: in definition of macro &#8216;list_entry&#8217;
  239 |         ((type *)((char *)(ptr)-(char *)(&amp;amp;((type *)0)-&amp;gt;member)))
      |                            ^~~
obd.c:5118:9: note: in expansion of macro &#8216;list_for_each_entry&#8217;
 5118 |         list_for_each_entry(tmp, head, lpn_list) {
      |         ^~~~~~~~~~~~~~~~~~~
obd.c:5124:17: note: call to &#8216;free&#8217; here
 5124 |                 free(tmp);
      |                 ^~~~~~~~~
cc1: all warnings being treated as errors
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;lutf_python.c: In function &#8216;python_init&#8217;:
lutf_python.c:216:9: error: &#8216;Py_SetProgramName&#8217; is deprecated [-Werror=deprecated-declarations]
  216 |         Py_SetProgramName(program);
      |         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.11/Python.h:94,
                 from lutf_python.c:1:
/usr/include/python3.11/pylifecycle.h:37:38: note: declared here
   37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
      |                                      ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:600: lutf-lutf_python.o] Error 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;test_brw.c: In function &#8216;main&#8217;:
test_brw.c:227:22: error: &#8216;write&#8217; specified size between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
  227 |                 rc = write(fd, buf, len);
      |                      ^~~~~~~~~~~~~~~~~~~
In file included from test_brw.c:40:
/usr/include/unistd.h:378:16: note: in a call to function &#8216;write&#8217; declared with attribute &#8216;access (read_only, 2, 3)&#8217;
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^~~~~
cc1: all warnings being treated as errors
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="380159" author="gerrit" created="Wed, 26 Jul 2023 09:54:49 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51765&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51765&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16980&quot; title=&quot;format-truncation errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16980&quot;&gt;&lt;del&gt;LU-16980&lt;/del&gt;&lt;/a&gt; build: fix gcc-12 &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=format-truncation=&amp;#93;&lt;/span&gt; error&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a50522f3aab56a98a9a76e47e87e92671a2c089a&lt;/p&gt;</comment>
                            <comment id="380731" author="gerrit" created="Mon, 31 Jul 2023 17:33:00 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51819&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51819&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16980&quot; title=&quot;format-truncation errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16980&quot;&gt;&lt;del&gt;LU-16980&lt;/del&gt;&lt;/a&gt; build: fix gcc-12 &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=use-after-free&amp;#93;&lt;/span&gt; error&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8fa48300347ac3c7dffb361d1686c434127fe3e1&lt;/p&gt;</comment>
                            <comment id="381537" author="gerrit" created="Mon, 7 Aug 2023 03:50:37 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51765/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51765/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16980&quot; title=&quot;format-truncation errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16980&quot;&gt;&lt;del&gt;LU-16980&lt;/del&gt;&lt;/a&gt; build: fix gcc-12 &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=format-truncation=&amp;#93;&lt;/span&gt; error&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 347cf32326a5be282e311f140cdc850bde46176b&lt;/p&gt;</comment>
                            <comment id="381540" author="gerrit" created="Mon, 7 Aug 2023 03:51:10 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51819/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51819/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16980&quot; title=&quot;format-truncation errors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16980&quot;&gt;&lt;del&gt;LU-16980&lt;/del&gt;&lt;/a&gt; build: fix gcc-12 &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=use-after-free&amp;#93;&lt;/span&gt; error&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c13d919564cf6692a794fe1ceb1875971f8cde03&lt;/p&gt;</comment>
                            <comment id="381576" author="pjones" created="Mon, 7 Aug 2023 14:10:21 +0000"  >&lt;p&gt;Landed for 2.16&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|i03rdb:</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>