diff options
author | David Robillard <d@drobilla.net> | 2022-06-27 16:29:22 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-17 17:40:35 -0400 |
commit | 5446b168f42c645f2419a05f9ba1fc1af984322f (patch) | |
tree | 6f04cfcebc4b6c90c70a469263768f0d24d6f5fa /waflib/extras | |
parent | b4c5465d221ea35b6144b15b44cda72e8ac1d822 (diff) | |
download | suil-5446b168f42c645f2419a05f9ba1fc1af984322f.tar.gz suil-5446b168f42c645f2419a05f9ba1fc1af984322f.tar.bz2 suil-5446b168f42c645f2419a05f9ba1fc1af984322f.zip |
Avoid snprintf when loading modules
Clang warned about out of bounds writes here on some platforms, though I think
it's a false positive. In any case, it's hard to tell because this "calculate
then snprintf and hope it fits" pattern is error-prone. Replace it with one
that is more verbose, but also more explicit and regular with no room for
misinterpretation.
Diffstat (limited to 'waflib/extras')
0 files changed, 0 insertions, 0 deletions