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/xserver-xorg-video-dummy-0.3.8/src/dummy.h Examining data/xserver-xorg-video-dummy-0.3.8/src/dummy_cursor.c Examining data/xserver-xorg-video-dummy-0.3.8/src/dummy_driver.c Examining data/xserver-xorg-video-dummy-0.3.8/src/dummy_dga.c Examining data/xserver-xorg-video-dummy-0.3.8/src/compat-api.h FINAL RESULTS: data/xserver-xorg-video-dummy-0.3.8/src/dummy_driver.c:357:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(dPtr->Options, DUMMYOptions, sizeof(DUMMYOptions)); data/xserver-xorg-video-dummy-0.3.8/src/dummy_driver.c:730:48: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). VFB_PROP = MakeAtom(VFB_PROP_NAME, strlen(VFB_PROP_NAME), 1); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 1220 in approximately 0.03 seconds (37451 lines/second) Physical Source Lines of Code (SLOC) = 830 Hits@level = [0] 0 [1] 1 [2] 1 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 2 [1+] 2 [2+] 1 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.40964 [1+] 2.40964 [2+] 1.20482 [3+] 0 [4+] 0 [5+] 0 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.