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/xininfo-0.14.11/source/xininfo.c

FINAL RESULTS:

data/xininfo-0.14.11/source/xininfo.c:315:16:  [4] (shell) execlp:
  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.
    int code = execlp ( "man", "man", MANPAGE_PATH, NULL );
data/xininfo-0.14.11/source/xininfo.c:368:30:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    const char *display_str= getenv( "DISPLAY" );

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 471 in approximately 0.03 seconds (14954 lines/second)
Physical Source Lines of Code (SLOC) = 324
Hits@level = [0]  21 [1]   0 [2]   0 [3]   1 [4]   1 [5]   0
Hits@level+ = [0+]  23 [1+]   2 [2+]   2 [3+]   2 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 70.9877 [1+] 6.17284 [2+] 6.17284 [3+] 6.17284 [4+] 3.08642 [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.