sessreg: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Oct 22 00:34:01 UTC 2022
.gitlab-ci.yml | 4 ++--
sessreg.c | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 1649bbf0300c086d98b855c03b1867e962883e9a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Oct 15 09:29:35 2022 -0700
Fix -Wstringop-truncation warnings in safe_strncpy()
In function ‘safe_strncpy’,
inlined from ‘set_utmpx’ at sessreg.c:540:3,
inlined from ‘main’ at sessreg.c:357:2:
sessreg.c:204:11: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
204 | (void)strncpy(dest, src, n);
| ^~~~~~~~~~~~~~~~~~~~~
In function ‘safe_strncpy’,
inlined from ‘set_utmpx’ at sessreg.c:530:4,
inlined from ‘main’ at sessreg.c:357:2:
sessreg.c:204:11: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
204 | (void)strncpy(dest, src, n);
| ^~~~~~~~~~~~~~~~~~~~~
In function ‘safe_strncpy’,
inlined from ‘set_utmpx’ at sessreg.c:532:3,
inlined from ‘main’ at sessreg.c:357:2:
sessreg.c:204:11: warning: ‘strncpy’ specified bound 257 equals destination size [-Wstringop-truncation]
204 | (void)strncpy(dest, src, n);
| ^~~~~~~~~~~~~~~~~~~~~
In function ‘safe_strncpy’,
inlined from ‘set_utmpx’ at sessreg.c:540:3,
inlined from ‘main’ at sessreg.c:357:2:
sessreg.c:204:11: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
204 | (void)strncpy(dest, src, n);
| ^~~~~~~~~~~~~~~~~~~~~
In function ‘safe_strncpy’,
inlined from ‘main’ at sessreg.c:423:5:
sessreg.c:204:11: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
204 | (void)strncpy(dest, src, n);
| ^~~~~~~~~~~~~~~~~~~~~
In function ‘safe_strncpy’,
inlined from ‘main’ at sessreg.c:425:5:
sessreg.c:204:11: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
204 | (void)strncpy(dest, src, n);
| ^~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 5e791f5e412de52c2e110c38f3091102afb4a8a0
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Jul 28 17:30:21 2022 -0700
gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list