xfs: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 21 16:46:14 UTC 2022
.gitlab-ci.yml | 2 +-
difs/dispatch.c | 14 +++++++-------
difs/fonts.c | 10 +++++-----
difs/main.c | 4 ++--
difs/swaprep.c | 2 +-
os/config.c | 2 +-
os/osglue.c | 21 +++++++++++++--------
7 files changed, 30 insertions(+), 25 deletions(-)
New commits:
commit ab6e5cc9f27109b72462073f03b4268dddbeac6d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Apr 16 10:00:16 2022 -0700
gitlab CI: stop requiring Signed-off-by in commits
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit cdb536d65f1898ecbd2d9ae13058703063e715f9
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Apr 16 09:59:02 2022 -0700
Use memcpy() instead of memmove() when buffers are known not to overlap
Most of these came from a mass bcopy() -> memmove() substitution
in 1993 with a commit comment of "ANSIfied for R6".
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 431588f8103a886de68a7ae3fcb8cc36974ed3c5
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Apr 16 09:37:59 2022 -0700
SetAlternateServers(): avoid memory leak on allocation failure
Reported by Oracle Parfait static analyzer:
Memory leak [memory-leak] (CWE 401):
Memory leak of pointer alts allocated with FSalloc((16 * num))
at line 229 of app/xfs/os/osglue.c in function 'SetAlternateServers'.
malloc called at line 372 of app/xfs/os/utils.c in function 'FSalloc'
Allocated value returned to caller at line 373
alts allocated at line 218 of app/xfs/os/osglue.c in function 'SetAlternateServers' with FSalloc((16 * num))
alts leaks when (*t) == 44 at line 225.
Memory leak [memory-leak] (CWE 401):
Memory leak of pointer alts allocated with FSalloc((16 * num))
at line 245 of app/xfs/os/osglue.c in function 'SetAlternateServers'.
malloc called at line 372 of app/xfs/os/utils.c in function 'FSalloc'
Allocated value returned to caller at line 373
alts allocated at line 218 of app/xfs/os/osglue.c in function 'SetAlternateServers' with FSalloc((16 * num))
alts leaks when (*(list + <pointer arithmetic>)) == 0 at line 224.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list