MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ghmkir/deleted_by_user/fqhbrst/?context=3
r/badcode • u/[deleted]
[deleted] — view deleted post
44 comments sorted by
View all comments
Show parent comment
2
Why does windows think it's a trojan? The ptr check?
6 u/kiwitims May 13 '20 I figured it out making my morning coffee after posting. Missing a return statement in main(), I was compiling with a C++ rather than a C compiler so it actually does have an arbitrary code execution vulnerability.Unintentionally really bad code...
6
I figured it out making my morning coffee after posting. Missing a return statement in main(), I was compiling with a C++ rather than a C compiler so it actually does have an arbitrary code execution vulnerability.
Unintentionally really bad code...
View all comments
Show parent comment
2
u/activeXdiamond May 13 '20
Why does windows think it's a trojan? The ptr check?