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/videotrans-1.6.1/src/progress.c Examining data/videotrans-1.6.1/src/fakewavspeed.c Examining data/videotrans-1.6.1/src/zoomcalc.c FINAL RESULTS: data/videotrans-1.6.1/src/progress.c:132:3: [4] (shell) execvp: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. execvp(argv[0], argv); data/videotrans-1.6.1/src/fakewavspeed.c:61:11: [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. unsigned char buffer[65536]; data/videotrans-1.6.1/src/fakewavspeed.c:73:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). speed = atoi(argv[1]); data/videotrans-1.6.1/src/progress.c:56:8: [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 buffer[BUFFER_SIZE + 1], new_buffer[NEW_BUFFER_SIZE]; data/videotrans-1.6.1/src/progress.c:230:19: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). movie_length = atoi(find + 11); data/videotrans-1.6.1/src/progress.c:165:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in_new_buffer = read(p[0], (void *)new_buffer, (size_t)NEW_BUFFER_SIZE); ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 1186 in approximately 0.04 seconds (26623 lines/second) Physical Source Lines of Code (SLOC) = 683 Hits@level = [0] 48 [1] 1 [2] 4 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 54 [1+] 6 [2+] 5 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 79.063 [1+] 8.78477 [2+] 7.32064 [3+] 1.46413 [4+] 1.46413 [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.