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/dleyna-core-0.6.0/libdleyna/core/connector-mgr.c Examining data/dleyna-core-0.6.0/libdleyna/core/connector-mgr.h Examining data/dleyna-core-0.6.0/libdleyna/core/connector.h Examining data/dleyna-core-0.6.0/libdleyna/core/control-point.h Examining data/dleyna-core-0.6.0/libdleyna/core/core.c Examining data/dleyna-core-0.6.0/libdleyna/core/core.h Examining data/dleyna-core-0.6.0/libdleyna/core/error.c Examining data/dleyna-core-0.6.0/libdleyna/core/error.h Examining data/dleyna-core-0.6.0/libdleyna/core/log.c Examining data/dleyna-core-0.6.0/libdleyna/core/log.h Examining data/dleyna-core-0.6.0/libdleyna/core/main-loop.h Examining data/dleyna-core-0.6.0/libdleyna/core/service-task.h Examining data/dleyna-core-0.6.0/libdleyna/core/settings.c Examining data/dleyna-core-0.6.0/libdleyna/core/settings.h Examining data/dleyna-core-0.6.0/libdleyna/core/task-atom.h Examining data/dleyna-core-0.6.0/libdleyna/core/task-processor.c Examining data/dleyna-core-0.6.0/libdleyna/core/task-processor.h Examining data/dleyna-core-0.6.0/libdleyna/core/white-list.c Examining data/dleyna-core-0.6.0/libdleyna/core/white-list.h Examining data/dleyna-core-0.6.0/libdleyna/core/main-loop.c Examining data/dleyna-core-0.6.0/libdleyna/core/service-task.c FINAL RESULTS: data/dleyna-core-0.6.0/libdleyna/core/log.h:44:28: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. __attribute__((format(printf, 3, 4))); data/dleyna-core-0.6.0/libdleyna/core/service-task.c:41:9: [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. static char source[20]; data/dleyna-core-0.6.0/libdleyna/core/core.c:53:8: [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). len = strlen(udn); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 2731 in approximately 0.09 seconds (29837 lines/second) Physical Source Lines of Code (SLOC) = 1707 Hits@level = [0] 3 [1] 1 [2] 1 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 6 [1+] 3 [2+] 2 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 3.51494 [1+] 1.75747 [2+] 1.17165 [3+] 0.585823 [4+] 0.585823 [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.