forked from firnsy/barnyard2
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I was just skimming the code at src/barnyard2.c. Didn't run to see if it is really an issue.
Even though the variable argc is assigned to barnyard2_argc in line 258, and set to 0 in line 261, the argc variable is still used in line 268 to make a comparison (instead of using barnyard2_argc).
This also happens with the argv variable, which is used in line 957 (along with lines between 256 and 285).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels