diff options
author | Pablo Barciela <[email protected]> | 2019-03-17 02:24:41 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2019-03-17 16:26:00 +0100 |
commit | 137fd477b4ac9b2ff1e7773fbe10675685b572a5 (patch) | |
tree | a0764bb10390ed727d016b3432160c1a90a590c7 /po/mai.po | |
parent | 3233410b3a2c23ac6d05e9603787fce5b530e364 (diff) | |
download | mate-desktop-137fd477b4ac9b2ff1e7773fbe10675685b572a5.tar.bz2 mate-desktop-137fd477b4ac9b2ff1e7773fbe10675685b572a5.tar.xz |
[Security] Use 'g_strlcpy' instead of 'strcpy'
Fixes Clang static analyzer warnings:
mate-rr-config.c:549:3: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
strcpy (output->priv->vendor, "???");
^~~~~~
mate-desktop-item.c:2118:2: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
strcpy (the_exec, exec);
^~~~~~
Diffstat (limited to 'po/mai.po')
0 files changed, 0 insertions, 0 deletions