Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/examples/embedding/main.cpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableDrawable.cpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableDrawable.hpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableRenderWindow.cpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableRenderWindow.hpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableSoundRecorder.cpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableSoundRecorder.hpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableSoundStream.cpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableSoundStream.hpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableWindow.cpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/DerivableWindow.hpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/error.cpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/error.hpp
Examining data/python-sfml-2.2~git20150611.196c88+dfsg/src/sfml/hacks.h

FINAL RESULTS:

data/python-sfml-2.2~git20150611.196c88+dfsg/examples/embedding/main.cpp:18:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char cwd[1024];

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 749 in approximately 0.06 seconds (12276 lines/second)
Physical Source Lines of Code (SLOC) = 309
Hits@level = [0]   0 [1]   0 [2]   1 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   1 [1+]   1 [2+]   1 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 3.23625 [1+] 3.23625 [2+] 3.23625 [3+]   0 [4+]   0 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.