diff options
author | Pablo Barciela <[email protected]> | 2019-03-12 21:29:21 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-03-24 00:47:00 +0100 |
commit | cd18ffe0df626dce052361c9f82bd8487ddc1879 (patch) | |
tree | eaa804baac93fcf816c5602471efd4c7ee7c8cd0 /libcaja-private/caja-file.c | |
parent | c65f277ade99c9708ddff2bb4faa1160ff369395 (diff) | |
download | caja-cd18ffe0df626dce052361c9f82bd8487ddc1879.tar.bz2 caja-cd18ffe0df626dce052361c9f82bd8487ddc1879.tar.xz |
caja-autorun: avoid NULL in 'memcpy'
Fixes Clang static analyzer warning:
caja-autorun.c:139:5: warning: Null pointer passed as an argument to a 'nonnull' parameter
memcpy (r, v, len * sizeof (char *));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'libcaja-private/caja-file.c')
0 files changed, 0 insertions, 0 deletions