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/golang-github-protonmail-go-autostart-0.0~git20181114.c527205/autostart_windows.c

FINAL RESULTS:

data/golang-github-protonmail-go-autostart-0.0~git20181114.c527205/autostart_windows.c:18:14:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
	int nChar = MultiByteToWideChar(CP_ACP, 0, shortcutA, -1, shortcutW, MAX_PATH);

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 51 in approximately 0.03 seconds (1982 lines/second)
Physical Source Lines of Code (SLOC) = 38
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+] 26.3158 [1+] 26.3158 [2+] 26.3158 [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.