siredmar / mdcii-engine

Platform independent remake of the game Anno 1602/1602AD.
GNU General Public License v2.0
19 stars 3 forks source link

Proto scenarios #86

Closed siredmar closed 4 years ago

siredmar commented 4 years ago

Fixes #14 for single player missions and campaigns

ghost commented 4 years ago

DeepCode's analysis on #d3539b found:

Description Example fixes
Leaking memory. Button is allocated on the heap and never freed. In function main. Occurrences: :wrench: Example fixes
Using strcat can lead to severe buffer overflow vulnerabilities. Use the safe alternative strncat instead. Occurrences: :wrench: Example fixes
The expression will always evaluate to true because both sides always hold the same value. Occurrences: :wrench: Example fixes

👉 View analysis in DeepCode’s Dashboard | Configure the bot