Este detectat de AV: https://www.virustotal.com/en/file/3ec3a88ee90def1f3f1138e50be75ef6b019bfd87897039c758fba10a003e89a/analysis/ Sa puna un Bitdefender sau Kaspersky trial, si sa dea o scanare la sistem.
What if the call to GetEnvVar fails? and chrome is allocated on the stack and there's no zero to be taken as end-of-string? Simplest way to test: char chrome[256] = {}; also, test return value of GetEnvironmentVariable [0=failed, sizeof(chrome)=not enough space, # = bytes written].