Skip to content

Intentional Errors #35

@cdobby9

Description

@cdobby9
  • DecodeMessage.cpp: The initial declaration of char* ch; is unnecessary.
  • DecodeMessage.cpp: The return ch; statement inside the else block is misleading and doesn't make sense.
  • Infect.cpp: There is an intentional return; statement after the line char driveLetter = getRemovableDisk();, which would prevent the execution of the following code.
  • Same error in TrojanCockroach.cpp: return 0; statement after the line char driveLetter = getRemovableDisk();
  • There are intentional comments like return; // :) and return; // :) in several places in the code that don't serve any practical purpose
  • In the Infect.cpp file, several parts of the code related to file copying and hiding seem to be intentionally disabled, making the logic incomplete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions