[Bugs] [Bug 1193929] GlusterFS can be improved

bugzilla at redhat.com bugzilla at redhat.com
Sun Aug 19 10:04:01 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1193929



--- Comment #195 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20746 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- gnfs: fix gcc warnings

gcc version 8.1.1 20180712 (Red Hat 8.1.1-5) (GCC) on Fedora 28.

Sample warnings:
1)
nfs3.c:292:54: warning: ‘%s’ directive output may be truncated writing up to
255 bytes into a region of size between 143 and 250 [-Wformat-truncation=]
                         snprintf (buf, sizeof (buf), "(%s) %s : %s",    \
                                                      ^~~~~~~~~~~~~~
nfs3.c:295:35:
                                   gfid);                                \
                                   ~~~~
2)
nlm4.c:145:54: warning: ‘%s’ directive output may be truncated writing up to
255 bytes into a region of size between 143 and 250 [-Wformat-truncation=]
                         snprintf (buf, sizeof (buf), "(%s) %s : %s",    \
                                                      ^~~~~~~~~~~~~~
nlm4.c:148:35:
                                   gfid);                                \
                                   ~~~~
acl3.c:128:54: warning: ‘%s’ directive output may be truncated writing up to
255 bytes into a region of size between 143 and 250 [-Wformat-truncation=]
                         snprintf (buf, sizeof (buf), "(%s) %s : %s",    \
                                                      ^~~~~~~~~~~~~~
acl3.c:131:35:
                                   gfid);                                \
                                   ~~~~

updates: bz#1193929
Change-Id: I760b8176e48f1f4628a1a98afa54a7994bdf13e9
Signed-off-by: Ravishankar N <ravishankar at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list