summaryrefslogtreecommitdiffstats
path: root/waflib/extras/pgicc.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-27 16:29:22 -0400
committerDavid Robillard <d@drobilla.net>2022-07-17 17:40:35 -0400
commit5446b168f42c645f2419a05f9ba1fc1af984322f (patch)
tree6f04cfcebc4b6c90c70a469263768f0d24d6f5fa /waflib/extras/pgicc.py
parentb4c5465d221ea35b6144b15b44cda72e8ac1d822 (diff)
downloadsuil-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/pgicc.py')
0 files changed, 0 insertions, 0 deletions